home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / Unreal T / utdemo338.exe / System / IpServer.u < prev    next >
Unreal Engine 3 Package  |  1999-09-27  |  28.7 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: Unreal Engine 3 Package (archive/unrealEngine3Package).

You can browse this item here: IpServer.u

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Unreal Engine 3 Package (archive/unrealEngine3Package) magic Supported
1% dexvert Unreal Texture (image/unrealTexture) ext Unsupported
1% dexvert KICK-Pascal Unit Interface (other/kickPascalUnitInterface) ext Unsupported
100% file Unreal Engine package (little-endian), version 68, names: 125, imports: 58, exports: 143 default
99% file data default
100% TrID UE3 Unreal Package (LE) default
100% detectItEasy Format: UnrealEngine\Unreal Package(68,0) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| c1 83 2a 9e 44 00 00 00 | 01 00 00 00 7d 00 00 00 |..*.D...|....}...|
|00000010| 40 00 00 00 8f 00 00 00 | a3 6a 00 00 3a 00 00 00 |@.......|.j..:...|
|00000020| b0 68 00 00 03 3c 8b 46 | 1e 75 d3 11 b9 4f 00 10 |.h...<.F|.u...O..|
|00000030| 5a 97 f8 f6 01 00 00 00 | 8f 00 00 00 7d 00 00 00 |Z.......|....}...|
|00000040| 05 4e 6f 6e 65 00 10 04 | 07 04 10 53 65 6e 64 51 |.None...|...SendQ|
|00000050| 75 65 72 79 50 61 63 6b | 65 74 00 10 00 07 00 10 |ueryPack|et......|
|00000060| 55 64 70 53 65 72 76 65 | 72 55 70 6c 69 6e 6b 00 |UdpServe|rUplink.|
|00000070| 10 00 07 00 09 47 65 74 | 52 75 6c 65 73 00 10 00 |.....Get|Rules...|
|00000080| 07 00 0f 50 61 72 73 65 | 4e 65 78 74 51 75 65 72 |...Parse|NextQuer|
|00000090| 79 00 10 00 07 00 0b 50 | 61 72 73 65 51 75 65 72 |y......P|arseQuer|
|000000a0| 79 00 10 00 07 00 08 47 | 65 74 49 6e 66 6f 00 10 |y......G|etInfo..|
|000000b0| 00 07 00 0a 47 65 74 50 | 6c 61 79 65 72 00 10 00 |....GetP|layer...|
|000000c0| 07 00 09 47 65 74 42 61 | 73 69 63 00 10 00 07 00 |...GetBa|sic.....|
|000000d0| 0c 53 65 6e 64 50 6c 61 | 79 65 72 73 00 10 00 07 |.SendPla|yers....|
|000000e0| 00 09 53 65 6e 64 54 65 | 78 74 00 10 00 07 04 07 |..SendTe|xt......|
|000000f0| 45 6e 67 69 6e 65 00 10 | 00 07 04 05 43 6f 72 65 |Engine..|....Core|
|00000100| 00 10 00 07 04 07 52 65 | 73 75 6d 65 00 10 00 07 |......Re|sume....|
|00000110| 00 09 56 61 6c 69 64 61 | 74 65 00 10 00 07 00 0e |..Valida|te......|
|00000120| 47 65 74 53 65 72 76 65 | 72 50 6f 72 74 00 10 00 |GetServe|rPort...|
|00000130| 07 00 06 54 69 6d 65 72 | 00 10 00 07 04 11 47 65 |...Timer|......Ge|
|00000140| 74 4c 65 76 65 6c 50 72 | 6f 70 65 72 74 79 00 10 |tLevelPr|operty..|
|00000150| 00 07 00 0d 4d 61 73 74 | 65 72 55 70 6c 69 6e 6b |....Mast|erUplink|
|00000160| 00 10 00 07 00 12 47 65 | 74 50 6c 61 79 65 72 50 |......Ge|tPlayerP|
|00000170| 72 6f 70 65 72 74 79 00 | 10 00 07 00 0b 52 65 6d |roperty.|.....Rem|
|00000180| 6f 74 65 52 6f 6c 65 00 | 10 00 07 04 07 53 79 73 |oteRole.|.....Sys|
|00000190| 74 65 6d 00 10 00 07 04 | 10 47 65 74 47 61 6d 65 |tem.....|.GetGame|
|000001a0| 50 72 6f 70 65 72 74 79 | 00 10 00 07 00 0d 50 72 |Property|......Pr|
|000001b0| 65 42 65 67 69 6e 50 6c | 61 79 00 10 00 07 04 0f |eBeginPl|ay......|
|000001c0| 55 64 70 53 65 72 76 65 | 72 51 75 65 72 79 00 10 |UdpServe|rQuery..|
|000001d0| 00 07 00 09 49 70 53 65 | 72 76 65 72 00 10 00 07 |....IpSe|rver....|
|000001e0| 00 0d 52 65 63 65 69 76 | 65 64 54 65 78 74 00 10 |..Receiv|edText..|
|000001f0| 00 07 00 09 42 69 6e 64 | 50 6f 72 74 00 10 00 07 |....Bind|Port....|
|00000200| 00 06 49 70 44 72 76 00 | 10 00 07 00 0b 50 6c 61 |..IpDrv.|.....Pla|
|00000210| 79 65 72 50 61 77 6e 00 | 10 00 07 00 10 54 61 72 |yerPawn.|.....Tar|
|00000220| 67 65 74 51 75 65 72 79 | 4e 61 6d 65 00 10 00 07 |getQuery|Name....|
|00000230| 00 09 52 65 73 6f 6c 76 | 65 64 00 10 00 07 00 08 |..Resolv|ed......|
|00000240| 52 65 73 6f 6c 76 65 00 | 10 00 07 00 0e 50 6f 73 |Resolve.|.....Pos|
|00000250| 74 42 65 67 69 6e 50 6c | 61 79 00 10 00 07 04 0e |tBeginPl|ay......|
|00000260| 52 65 73 6f 6c 76 65 46 | 61 69 6c 65 64 00 10 00 |ResolveF|ailed...|
|00000270| 07 00 0c 47 65 74 49 74 | 65 6d 4e 61 6d 65 00 10 |...GetIt|emName..|
|00000280| 00 07 00 11 4d 61 73 74 | 65 72 53 65 72 76 65 72 |....Mast|erServer|
|00000290| 50 6f 72 74 00 10 00 07 | 00 0d 47 65 74 4d 75 6c |Port....|..GetMul|
|000002a0| 74 69 53 6b 69 6e 00 10 | 00 07 00 09 47 61 6d 65 |tiSkin..|....Game|
|000002b0| 4e 61 6d 65 00 10 00 07 | 00 0a 51 75 65 72 79 4e |Name....|..QueryN|
|000002c0| 61 6d 65 00 10 00 07 00 | 0f 43 6f 6e 73 6f 6c 65 |ame.....|.Console|
|000002d0| 43 6f 6d 6d 61 6e 64 00 | 10 00 07 00 0e 55 70 64 |Command.|.....Upd|
|000002e0| 61 74 65 4d 69 6e 75 74 | 65 73 00 10 00 07 00 05 |ateMinut|es......|
|000002f0| 48 61 6c 74 00 10 00 07 | 00 07 52 65 67 69 6f 6e |Halt....|..Region|
|00000300| 00 10 00 07 00 10 47 65 | 74 50 72 6f 70 65 72 74 |......Ge|tPropert|
|00000310| 79 54 65 78 74 00 10 00 | 07 00 05 53 6b 69 6e 00 |yText...|...Skin.|
|00000320| 10 00 07 00 05 54 65 78 | 74 00 10 00 07 00 09 46 |.....Tex|t......F|
|00000330| 61 63 65 4e 61 6d 65 00 | 10 00 07 00 09 47 61 6d |aceName.|.....Gam|
|00000340| 65 49 6e 66 6f 00 10 00 | 07 00 0b 53 63 72 69 70 |eInfo...|...Scrip|
|00000350| 74 54 65 78 74 00 10 00 | 07 00 02 69 00 10 00 07 |tText...|...i....|
|00000360| 00 0b 4e 75 6d 50 6c 61 | 79 65 72 73 00 10 00 07 |..NumPla|yers....|
|00000370| 00 0c 52 65 74 75 72 6e | 56 61 6c 75 65 00 10 00 |..Return|Value...|
|00000380| 07 00 09 53 6b 69 6e 4e | 61 6d 65 00 10 00 07 00 |...SkinN|ame.....|
|00000390| 02 50 00 10 00 07 00 09 | 6e 65 78 74 50 61 77 6e |.P......|nextPawn|
|000003a0| 00 10 00 07 00 05 54 65 | 61 6d 00 10 00 07 00 06 |......Te|am......|
|000003b0| 53 63 6f 72 65 00 10 00 | 07 00 05 47 61 6d 65 00 |Score...|...Game.|
|000003c0| 10 00 07 00 08 4e 65 74 | 4d 6f 64 65 00 10 00 07 |.....Net|Mode....|
|000003d0| 00 09 4d 65 6e 75 4e 61 | 6d 65 00 10 00 07 00 07 |..MenuNa|me......|
|000003e0| 52 65 73 75 6c 74 00 10 | 00 07 00 07 53 74 72 75 |Result..|....Stru|
|000003f0| 63 74 00 10 04 07 04 0b | 4d 61 78 50 6c 61 79 65 |ct......|MaxPlaye|
|00000400| 72 73 00 10 00 07 00 0c | 53 74 72 50 72 6f 70 65 |rs......|StrPrope|
|00000410| 72 74 79 00 10 00 07 04 | 0a 52 65 73 75 6c 74 53 |rty.....|.ResultS|
|00000420| 65 74 00 10 00 07 00 0f | 53 74 72 75 63 74 50 72 |et......|StructPr|
|00000430| 6f 70 65 72 74 79 00 10 | 00 07 04 0b 53 65 72 76 |operty..|....Serv|
|00000440| 65 72 4e 61 6d 65 00 10 | 00 07 00 08 50 61 63 6b |erName..|....Pack|
|00000450| 61 67 65 00 10 04 07 04 | 16 50 6c 61 79 65 72 52 |age.....|.PlayerR|
|00000460| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 00 10 |eplicati|onInfo..|
|00000470| 00 07 00 08 55 64 70 4c | 69 6e 6b 00 10 00 07 00 |....UdpL|ink.....|
|00000480| 0d 49 6e 74 65 72 6e 65 | 74 4c 69 6e 6b 00 10 00 |.Interne|tLink...|
|00000490| 07 00 0a 55 64 70 42 65 | 61 63 6f 6e 00 10 00 07 |...UdpBe|acon....|
|000004a0| 00 07 49 70 41 64 64 72 | 00 10 00 07 00 0a 41 64 |..IpAddr|......Ad|
|000004b0| 6d 69 6e 4e 61 6d 65 00 | 10 00 07 00 05 50 6f 72 |minName.|.....Por|
|000004c0| 74 00 10 00 07 00 0b 41 | 64 6d 69 6e 45 6d 61 69 |t......A|dminEmai|
|000004d0| 6c 00 10 00 07 00 11 56 | 61 6c 69 64 61 74 69 6f |l......V|alidatio|
|000004e0| 6e 53 74 72 69 6e 67 00 | 10 00 07 00 0b 50 6c 61 |nString.|.....Pla|
|000004f0| 79 65 72 4e 61 6d 65 00 | 10 00 07 00 0e 45 6e 67 |yerName.|.....Eng|
|00000500| 69 6e 65 56 65 72 73 69 | 6f 6e 00 10 00 07 00 14 |ineVersi|on......|
|00000510| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|00000520| 6e 66 6f 00 10 00 07 00 | 06 4c 65 76 65 6c 00 10 |nfo.....|.Level..|
|00000530| 00 07 00 13 55 64 70 53 | 65 72 76 65 72 51 75 65 |....UdpS|erverQue|
|00000540| 72 79 50 6f 72 74 00 10 | 00 07 00 0a 62 6f 75 6e |ryPort..|....boun|
|00000550| 64 70 6f 72 74 00 10 00 | 07 00 06 51 75 65 72 79 |dport...|...Query|
|00000560| 00 10 00 07 00 13 4d 61 | 73 74 65 72 53 65 72 76 |......Ma|sterServ|
|00000570| 65 72 49 70 41 64 64 72 | 00 10 00 07 00 14 4d 61 |erIpAddr|......Ma|
|00000580| 73 74 65 72 53 65 72 76 | 65 72 41 64 64 72 65 73 |sterServ|erAddres|
|00000590| 73 00 10 00 07 00 06 41 | 63 74 6f 72 00 10 00 07 |s......A|ctor....|
|000005a0| 00 05 50 61 77 6e 00 10 | 00 07 00 0e 43 6c 61 73 |..Pawn..|....Clas|
|000005b0| 73 50 72 6f 70 65 72 74 | 79 00 10 00 07 04 0a 4c |sPropert|y......L|
|000005c0| 65 76 65 6c 49 6e 66 6f | 00 10 00 07 00 10 43 75 |evelInfo|......Cu|
|000005d0| 72 72 65 6e 74 51 75 65 | 72 79 4e 75 6d 00 10 00 |rrentQue|ryNum...|
|000005e0| 07 00 07 42 65 61 63 6f | 6e 00 10 00 07 00 0f 51 |...Beaco|n......Q|
|000005f0| 75 65 72 79 52 65 6d 61 | 69 6e 69 6e 67 00 10 00 |ueryRema|ining...|
|00000600| 07 00 09 51 75 65 72 79 | 4e 75 6d 00 10 00 07 00 |...Query|Num.....|
|00000610| 0a 50 61 63 6b 65 74 4e | 75 6d 00 10 00 07 00 0d |.PacketN|um......|
|00000620| 4e 61 6d 65 50 72 6f 70 | 65 72 74 79 00 10 00 07 |NameProp|erty....|
|00000630| 04 0a 51 75 65 72 79 54 | 79 70 65 00 10 00 07 00 |..QueryT|ype.....|
|00000640| 0b 51 75 65 72 79 56 61 | 6c 75 65 00 10 00 07 00 |.QueryVa|lue.....|
|00000650| 0a 51 75 65 72 79 52 65 | 73 74 00 10 00 07 00 0c |.QueryRe|st......|
|00000660| 46 69 6e 61 6c 50 61 63 | 6b 65 74 00 10 00 07 00 |FinalPac|ket.....|
|00000670| 0a 54 65 6d 70 51 75 65 | 72 79 00 10 00 07 00 0d |.TempQue|ry......|
|00000680| 43 6c 6f 73 69 6e 67 53 | 6c 61 73 68 00 10 00 07 |ClosingS|lash....|
|00000690| 00 0f 4f 62 6a 65 63 74 | 50 72 6f 70 65 72 74 79 |..Object|Property|
|000006a0| 00 10 00 07 04 0e 46 6c | 6f 61 74 50 72 6f 70 65 |......Fl|oatPrope|
|000006b0| 72 74 79 00 10 00 07 04 | 0b 53 65 6e 64 53 74 72 |rty.....|.SendStr|
|000006c0| 69 6e 67 00 10 00 07 00 | 0d 42 6f 6f 6c 50 72 6f |ing.....|.BoolPro|
|000006d0| 70 65 72 74 79 00 10 00 | 07 04 0c 49 6e 74 50 72 |perty...|...IntPr|
|000006e0| 6f 70 65 72 74 79 00 10 | 00 07 04 0a 50 6c 61 79 |operty..|....Play|
|000006f0| 65 72 4e 75 6d 00 10 00 | 07 00 0d 42 79 74 65 50 |erNum...|...ByteP|
|00000700| 72 6f 70 65 72 74 79 00 | 10 00 07 04 0b 53 65 6e |roperty.|.....Sen|
|00000710| 64 52 65 73 75 6c 74 00 | 10 00 07 00 09 46 75 6e |dResult.|.....Fun|
|00000720| 63 74 69 6f 6e 00 10 04 | 07 04 05 50 72 6f 70 00 |ction...|...Prop.|
|00000730| 10 00 07 00 06 54 69 74 | 6c 65 00 10 00 07 04 04 |.....Tit|le......|
|00000740| 54 61 67 00 10 00 07 04 | 06 43 6c 61 73 73 00 10 |Tag.....|.Class..|
|00000750| 04 07 04 09 44 6f 55 70 | 6c 69 6e 6b 00 10 00 07 |....DoUp|link....|
|00000760| 00 05 41 64 64 72 00 10 | 00 07 00 0b 54 65 78 74 |..Addr..|....Text|
|00000770| 42 75 66 66 65 72 00 10 | 00 07 04 07 4f 62 6a 65 |Buffer..|....Obje|
|00000780| 63 74 00 10 00 07 04 11 | 48 65 61 72 74 62 65 61 |ct......|Heartbea|
|00000790| 74 4d 65 73 73 61 67 65 | 00 10 00 07 00 0b 55 70 |tMessage|......Up|
|000007a0| 6c 69 6e 6b 50 6f 72 74 | 00 10 00 07 00 0e 4d 69 |linkPort|......Mi|
|000007b0| 6e 4e 65 74 56 65 72 73 | 69 6f 6e 00 10 00 07 00 |nNetVers|ion.....|
|000007c0| 09 50 61 77 6e 4c 69 73 | 74 00 10 00 07 00 09 51 |.PawnLis|t......Q|
|000007d0| 75 65 72 79 53 74 72 00 | 10 00 07 00 00 00 00 01 |ueryStr.|........|
|000007e0| 00 00 00 00 00 40 00 00 | 00 00 3e 01 00 00 00 00 |.....@..|..>.....|
|000007f0| 00 40 00 00 00 00 07 01 | 00 00 00 00 00 00 00 00 |.@......|........|
|00000800| 00 00 50 01 01 00 00 00 | 80 00 00 00 00 8e 00 00 |..P.....|........|
|00000810| 4f 02 01 00 00 00 80 01 | 00 00 00 00 00 05 01 00 |O.......|........|
|00000820| 00 00 80 00 00 00 00 00 | 00 00 01 00 00 00 00 00 |........|........|
|00000830| 40 00 00 00 00 15 01 00 | 00 00 00 00 40 00 00 00 |@.......|....@...|
|00000840| 00 1d 01 00 00 00 80 00 | 40 00 00 00 00 19 01 00 |........|@.......|
|00000850| 00 00 80 00 40 00 00 00 | 00 33 01 00 00 00 80 01 |....@...|.3......|
|00000860| 40 00 00 00 00 0d 01 00 | 00 00 80 00 00 00 00 8f |@.......|........|
|00000870| 00 00 6f 01 01 00 00 00 | 80 00 00 00 00 00 00 3a |..o.....|.......:|
|00000880| 01 00 00 00 80 01 40 00 | 00 00 00 00 01 00 00 00 |......@.|........|
|00000890| 00 00 40 00 00 00 00 26 | 01 00 00 00 00 00 00 00 |..@....&|........|
|000008a0| 00 12 00 00 00 01 00 00 | 00 00 00 00 00 00 93 00 |........|........|
|000008b0| 4a 02 71 01 18 ff ff ff | ff ff ff ff ff 00 00 00 |J.q.....|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff ff |........|........|
|000008d0| ff ff ff 00 00 00 00 1e | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 42 01 12 01 00 |........|...B....|
|000008f0| 00 00 7b b4 fb 66 93 01 | 00 00 00 36 16 1f 85 8f |..{..f..|...6....|
|00000900| 00 00 00 00 5d 50 64 2b | 84 00 00 00 00 5f 17 19 |....]Pd+|....._..|
|00000910| 0c 86 00 00 00 00 52 91 | 24 57 84 00 00 00 00 5f |......R.|$W....._|
|00000920| 17 19 0c 84 00 00 00 00 | 5f 17 19 0c 84 00 00 00 |........|_.......|
|00000930| 00 5f 17 19 0c 86 00 00 | 00 00 52 91 24 57 92 00 |._......|..R.$W..|
|00000940| 00 00 00 bf f3 64 ec 84 | 00 00 00 00 5f 17 19 0c |.....d..|...._...|
|00000950| 86 00 00 00 00 52 91 24 | 57 92 00 00 00 00 bf f3 |.....R.$|W.......|
|00000960| 64 ec 8f 00 00 00 00 5d | 50 64 2b 96 00 00 00 00 |d......]|Pd+.....|
|00000970| 0e 89 7c 4a 8f 00 00 00 | 00 5d 50 64 2b 96 00 00 |..|J....|.]Pd+...|
|00000980| 00 00 0e 89 7c 4a 8f 00 | 00 00 00 5d 50 64 2b 8f |....|J..|...]Pd+.|
|00000990| 00 00 00 00 5d 50 64 2b | 96 00 00 00 00 0e 89 7c |....]Pd+|.......||
|000009a0| 4a 8f 00 00 00 00 5d 50 | 64 2b 8f 00 00 00 00 5d |J.....]P|d+.....]|
|000009b0| 50 64 2b 8f 00 00 00 00 | 5d 50 64 2b 8f 00 00 00 |Pd+.....|]Pd+....|
|000009c0| 00 5d 50 64 2b 84 00 00 | 00 00 5f 17 19 0c 86 00 |.]Pd+...|.._.....|
|000009d0| 00 00 00 52 91 24 57 84 | 00 00 00 00 5f 17 19 0c |...R.$W.|...._...|
|000009e0| 86 00 00 00 00 52 91 24 | 57 90 00 00 00 00 6b 69 |.....R.$|W.....ki|
|000009f0| 68 c2 84 00 00 00 00 5f | 17 19 0c 86 00 00 00 00 |h......_|........|
|00000a00| 52 91 24 57 90 00 00 00 | 00 6b 69 68 c2 84 00 00 |R.$W....|.kih....|
|00000a10| 00 00 5f 17 19 0c 86 00 | 00 00 00 52 91 24 57 90 |.._.....|...R.$W.|
|00000a20| 00 00 00 00 6b 69 68 c2 | 84 00 00 00 00 5f 17 19 |....kih.|....._..|
|00000a30| 0c 86 00 00 00 00 52 91 | 24 57 90 00 00 00 00 6b |......R.|$W.....k|
|00000a40| 69 68 c2 84 00 00 00 00 | 5f 17 19 0c 86 00 00 00 |ih......|_.......|
|00000a50| 00 52 91 24 57 90 00 00 | 00 00 6b 69 68 c2 84 00 |.R.$W...|..kih...|
|00000a60| 00 00 00 5f 17 19 0c 86 | 00 00 00 00 52 91 24 57 |..._....|....R.$W|
|00000a70| 84 00 00 00 00 5f 17 19 | 0c 84 00 00 00 00 5f 17 |....._..|......_.|
|00000a80| 19 0c 86 00 00 00 00 52 | 91 24 57 84 00 00 00 00 |.......R|.$W.....|
|00000a90| 5f 17 19 0c 86 00 00 00 | 00 52 91 24 57 84 00 00 |_.......|.R.$W...|
|00000aa0| 00 00 5f 17 19 0c 86 00 | 00 00 00 52 91 24 57 84 |.._.....|...R.$W.|
|00000ab0| 00 00 00 00 5f 17 19 0c | 84 00 00 00 00 5f 17 19 |...._...|....._..|
|00000ac0| 0c 84 00 00 00 00 5f 17 | 19 0c 86 00 00 00 00 52 |......_.|.......R|
|00000ad0| 91 24 57 84 00 00 00 00 | 5f 17 19 0c 84 00 00 00 |.$W.....|_.......|
|00000ae0| 00 5f 17 19 0c 84 00 00 | 00 00 5f 17 19 0c 86 00 |._......|.._.....|
|00000af0| 00 00 00 52 91 24 57 90 | 00 00 00 00 6b 69 68 c2 |...R.$W.|....kih.|
|00000b00| 84 00 00 00 00 5f 17 19 | 0c 86 00 00 00 00 52 91 |....._..|......R.|
|00000b10| 24 57 84 00 00 00 00 5f | 17 19 0c 86 00 00 00 00 |$W....._|........|
|00000b20| 52 91 24 57 99 00 00 00 | 00 99 1d 4e 35 84 00 00 |R.$W....|...N5...|
|00000b30| 00 00 5f 17 19 0c 86 00 | 00 00 00 52 91 24 57 04 |.._.....|...R.$W.|
|00000b40| 19 1c 0b 0c 94 15 27 06 | 12 26 5d 08 07 75 6e 72 |......'.|.&]..unr|
|00000b50| 65 61 6c 00 14 01 00 00 | 00 00 1c 01 00 00 00 00 |eal.....|........|
|00000b60| 00 00 00 00 92 00 00 00 | 01 00 00 00 00 00 40 00 |........|......@.|
|00000b70| 00 00 00 3b 01 00 00 00 | 00 00 40 00 00 00 00 00 |...;....|..@.....|
|00000b80| 01 00 00 00 00 00 00 00 | 00 00 00 40 01 01 00 00 |........|...@....|
|00000b90| 00 00 00 00 00 00 8e 00 | 00 1a 01 00 00 00 00 00 |........|........|
|00000ba0| 40 00 00 00 00 2b 01 00 | 00 00 80 01 40 00 00 00 |@....+..|....@...|
|00000bb0| 00 46 01 01 00 00 00 00 | 00 00 00 00 00 00 1f 01 |.F......|........|
|00000bc0| 00 00 00 00 00 40 00 00 | 00 00 24 01 00 00 00 00 |.....@..|..$.....|
|00000bd0| 00 00 00 00 00 00 2d 01 | 00 00 00 80 01 40 00 00 |......-.|.....@..|
|00000be0| 00 00 49 01 01 00 00 00 | 80 08 40 00 00 00 00 37 |..I.....|..@....7|
|00000bf0| 01 00 00 00 00 00 00 00 | 00 00 00 32 01 00 00 00 |........|...2....|
|00000c00| 00 00 00 00 00 00 00 54 | 01 01 00 00 00 80 08 40 |.......T|.......@|
|00000c10| 00 00 00 00 00 01 00 00 | 00 00 40 44 00 00 00 00 |........|..@D....|
|00000c20| 22 01 00 00 00 00 00 00 | 00 00 00 00 2a 01 00 00 |".......|....*...|
|00000c30| 00 00 00 00 00 00 00 00 | 52 01 01 00 00 00 01 40 |........|R......@|
|00000c40| 40 00 02 00 00 00 01 00 | 00 00 00 00 00 00 00 00 |@.......|........|
|00000c50| 00 31 01 00 00 00 00 00 | 40 00 00 00 00 00 01 00 |.1......|@.......|
|00000c60| 00 00 00 00 00 00 00 00 | 00 3d 01 00 00 00 00 00 |........|.=......|
|00000c70| 40 00 00 00 00 00 01 00 | 00 00 00 00 00 00 00 00 |@.......|........|
|00000c80| 00 0e 01 00 00 00 80 01 | 40 00 00 00 00 00 01 00 |........|@.......|
|00000c90| 00 00 00 00 00 00 00 00 | 00 0b 01 00 00 00 80 01 |........|........|
|00000ca0| 40 00 00 00 00 20 01 00 | 00 00 00 00 40 00 00 00 |@.... ..|....@...|
|00000cb0| 00 00 01 00 00 00 00 00 | 00 00 00 00 00 2e 01 00 |........|........|
|00000cc0| 00 00 00 00 40 00 00 00 | 00 30 01 00 00 00 00 00 |....@...|.0......|
|00000cd0| 40 00 00 00 00 00 01 00 | 00 00 00 00 40 00 00 00 |@.......|....@...|
|00000ce0| 00 79 01 01 00 00 00 80 | 01 40 00 00 00 00 00 01 |.y......|.@......|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 51 01 01 00 00 00 |........|..Q.....|
|00000d00| 80 01 00 00 00 00 00 35 | 01 00 00 00 80 00 00 00 |.......5|........|
|00000d10| 00 00 00 5f 01 01 00 00 | 00 00 00 00 00 00 00 00 |..._....|........|
|00000d20| 00 01 00 00 00 00 00 00 | 00 00 99 00 00 00 01 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 4b 02 01 00 00 00 80 |........|.K......|
|00000d40| 01 40 00 00 00 00 47 01 | 01 00 00 00 00 00 40 00 |.@....G.|......@.|
|00000d50| 00 00 00 40 02 01 00 00 | 00 80 00 40 00 00 00 00 |...@....|...@....|
|00000d60| 48 01 01 00 00 00 00 00 | 00 00 00 00 00 3f 01 00 |H.......|.....?..|
|00000d70| 00 00 00 00 40 00 00 00 | 00 00 01 00 00 00 00 00 |....@...|........|
|00000d80| 40 00 00 00 00 10 01 00 | 00 00 00 00 40 00 00 00 |@.......|....@...|
|00000d90| 00 36 01 00 00 00 80 00 | 00 00 00 8e 00 00 49 02 |.6......|......I.|
|00000da0| 01 00 00 00 80 00 40 00 | 00 00 00 00 01 00 00 00 |......@.|........|
|00000db0| 00 00 40 00 00 00 00 00 | 01 00 00 00 00 00 40 00 |..@.....|......@.|
|00000dc0| 00 00 00 77 01 01 00 00 | 00 80 00 40 00 00 00 00 |...w....|...@....|
|00000dd0| 4e 01 01 00 00 00 00 00 | 00 00 00 00 00 03 01 00 |N.......|........|
|00000de0| 00 00 00 00 40 00 00 00 | 00 00 01 00 00 00 00 00 |....@...|........|
|00000df0| 00 00 00 8f 00 00 4d 01 | 01 00 00 00 80 00 00 00 |......M.|........|
|00000e00| 00 00 00 45 02 01 00 00 | 00 80 00 40 00 00 00 00 |...E....|...@....|
|00000e10| 1e 01 00 00 00 80 00 00 | 00 00 8e 00 00 18 01 00 |........|........|
|00000e20| 00 00 80 00 40 00 00 00 | 00 4a 01 01 00 00 00 80 |....@...|.J......|
|00000e30| 00 00 00 00 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 16 01 00 00 00 00 | 00 40 00 00 00 00 06 01 |........|.@......|
|00000e50| 00 00 00 80 08 40 00 00 | 00 00 6c 01 01 00 00 00 |.....@..|..l.....|
|00000e60| 80 00 40 00 00 00 00 5c | 01 01 00 00 00 01 40 00 |..@....\|......@.|
|00000e70| 00 02 00 00 55 01 01 00 | 00 00 80 00 00 00 00 00 |....U...|........|
|00000e80| 00 53 01 01 00 00 00 80 | 00 00 00 00 00 00 4e 02 |.S......|......N.|
|00000e90| 01 00 00 00 80 00 40 00 | 00 00 00 5a 01 01 00 00 |......@.|...Z....|
|00000ea0| 00 80 00 00 00 00 00 00 | 56 01 01 00 00 00 80 08 |........|V.......|
|00000eb0| 40 00 00 00 00 59 01 01 | 00 00 00 01 40 00 00 02 |@....Y..|....@...|
|00000ec0| 00 00 25 01 00 00 00 01 | 40 00 00 02 00 00 41 02 |..%.....|@.....A.|
|00000ed0| 01 00 00 00 80 01 00 00 | 00 00 00 6e 01 01 00 00 |........|...n....|
|00000ee0| 00 80 00 00 00 00 8e 00 | 00 5d 01 01 00 00 00 01 |........|.]......|
|00000ef0| 40 00 00 02 00 00 17 01 | 00 00 00 01 00 00 00 02 |@.......|........|
|00000f00| 00 00 4c 01 01 00 00 00 | 80 00 00 00 00 8e 00 00 |..L.....|........|
|00000f10| 00 01 00 00 00 00 00 00 | 00 00 00 00 21 01 00 00 |........|....!...|
|00000f20| 00 80 00 00 00 00 8e 00 | 00 63 01 01 00 00 00 80 |........|.c......|
|00000f30| 00 00 00 00 8e 00 00 23 | 01 00 00 00 01 00 00 00 |.......#|........|
|00000f40| 18 00 00 1b 01 00 00 00 | 80 00 40 00 00 00 00 57 |........|..@....W|
|00000f50| 01 01 00 00 00 80 00 00 | 00 00 8e 00 00 11 01 00 |........|........|
|00000f60| 00 00 00 00 40 00 00 00 | a2 4c 02 00 5e 01 1a 3c |....@...|.L..^..<|
|00000f70| 00 00 00 49 06 00 00 9c | 00 00 00 a5 01 23 16 07 |...I....|.....#..|
|00000f80| 1a 00 97 01 23 2c 64 16 | 0f 01 23 26 0f 00 46 01 |....#,d.|..#&..F.|
|00000f90| 01 23 0f 00 18 00 4c 01 | 07 47 00 7a 00 18 1f 00 |.#....L.|.G.z....|
|00000fa0| 16 14 2d 00 1a 28 06 4f | 00 14 2d 00 1a 27 07 9a |..-..(.O|..-..'..|
|00000fb0| 00 2d 00 1a 0f 00 18 1b | 05 00 5e 01 00 18 00 46 |.-......|..^....F|
|00000fc0| 01 00 4e 01 16 07 8f 00 | 7a 00 18 1f 00 16 14 2d |..N.....|z......-|
|00000fd0| 00 1a 28 06 97 00 14 2d | 00 1a 27 06 4f 00 04 0b |..(....-|..'.O...|
|00000fe0| 00 00 00 02 08 00 00 00 | b5 6d 01 00 39 10 71 00 |........|.m..9.q.|
|00000ff0| 00 00 0f 0d 00 00 52 00 | 00 00 14 2d 00 39 1b 0a |......R.|...-.9..|
|00001000| 01 17 01 40 01 16 07 50 | 00 81 2d 00 39 16 e7 1f |...@...P|..-.9...|
|00001010| 46 61 69 6c 65 64 20 74 | 6f 20 73 65 6e 64 20 68 |Failed t|o send h|
|00001020| 65 61 72 74 62 65 61 74 | 20 74 6f 20 6d 61 73 74 |eartbeat| to mast|
|00001030| 65 72 20 73 65 72 76 65 | 72 2e 00 16 04 0b 00 00 |er serve|r.......|
|00001040| 00 02 00 00 00 00 9f 58 | 01 00 00 17 24 00 00 00 |.......X|....$...|
|00001050| 1f 06 00 00 9c 01 00 00 | 07 47 00 81 2d 01 58 01 |........|.G..-.X.|
|00001060| 16 e7 1f 44 6f 55 70 6c | 69 6e 6b 20 69 73 20 6e |...DoUpl|ink is n|
|00001070| 6f 74 20 73 65 74 2e 20 | 20 4e 6f 74 20 63 6f 6e |ot set. | Not con|
|00001080| 6e 65 63 74 69 6e 67 20 | 74 6f 20 4d 61 73 74 65 |necting |to Maste|
|00001090| 72 20 53 65 72 76 65 72 | 2e 00 16 04 0b 07 9e 00 |r Server|........|
|000010a0| 9a 3a 19 01 88 05 00 01 | 01 ad 3a 24 02 16 e7 1f |.:......|..:$....|
|000010b0| 54 68 69 73 20 69 73 20 | 61 20 4c 69 73 74 65 6e |This is |a Listen|
|000010c0| 20 73 65 72 76 65 72 2e | 20 20 4e 6f 74 20 63 6f | server.| Not co|
|000010d0| 6e 6e 65 63 74 69 6e 67 | 20 74 6f 20 4d 61 73 74 |nnecting| to Mast|
|000010e0| 65 72 20 53 65 72 76 65 | 72 2e 00 16 04 0b 2f 61 |er Serve|r...../a|
|000010f0| 30 20 12 01 10 01 5d 01 | 16 b7 00 06 b7 00 31 30 |0 ....].|......10|
|00001100| 07 0b 01 72 01 10 2a 16 | e7 1f 55 64 70 53 65 72 |...r..*.|..UdpSer|
|00001110| 76 65 72 55 70 6c 69 6e | 6b 3a 20 43 6f 75 6c 64 |verUplin|k: Could|
|00001120| 20 6e 6f 74 20 66 69 6e | 64 20 61 20 55 64 70 53 | not fin|d a UdpS|
|00001130| 65 72 76 65 72 51 75 65 | 72 79 20 6f 62 6a 65 63 |erverQue|ry objec|
|00001140| 74 2c 20 61 62 6f 72 74 | 69 6e 67 2e 00 16 04 0b |t, abort|ing.....|
|00001150| 0f 01 40 01 70 70 70 1f | 5c 68 65 61 72 74 62 65 |..@.ppp.|\heartbe|
|00001160| 61 74 5c 00 53 19 01 10 | 05 00 04 01 9c 16 1f 5c |at\.S...|.......\|
|00001170| 67 61 6d 65 6e 61 6d 65 | 5c 00 16 19 01 10 05 00 |gamename|\.......|
|00001180| 00 01 22 16 0f 36 a3 01 | 17 01 52 01 07 8f 01 7a |.."..6..|..R....z|
|00001190| 01 25 1f 00 16 0f 01 25 | 70 70 1f 6d 61 73 74 65 |.%.....%|pp.maste|
|000011a0| 72 00 53 01 5c 01 16 1f | 2e 67 61 6d 65 73 70 79 |r.S.\...|.gamespy|
|000011b0| 2e 63 6f 6d 00 16 1b 20 | 01 25 16 04 0b 00 00 00 |.com... |.%......|
|000011c0| 02 00 00 00 00 b7 68 01 | 00 5b 01 1f 4d 00 00 00 |......h.|.[..M...|
|000011d0| d7 09 00 00 42 01 00 00 | 0f 36 9d 01 17 36 9d 00 |....B...|.6...6..|
|000011e0| 5b 01 07 64 00 9a 36 9d | 01 17 25 16 e7 1f 55 64 |[..d..6.|..%...Ud|
|000011f0| 70 53 65 72 76 65 72 55 | 70 6c 69 6e 6b 3a 20 49 |pServerU|plink: I|
|00001200| 6e 76 61 6c 69 64 20 6d | 61 73 74 65 72 20 73 65 |nvalid m|aster se|
|00001210| 72 76 65 72 20 61 64 64 | 72 65 73 73 2c 20 61 62 |rver add|ress, ab|
|00001220| 6f 72 74 69 6e 67 2e 00 | 16 04 0b e7 70 70 70 1f |orting..|....ppp.|
|00001230| 55 64 70 53 65 72 76 65 | 72 55 70 6c 69 6e 6b 3a |UdpServe|rUplink:|
|00001240| 20 4d 61 73 74 65 72 20 | 53 65 72 76 65 72 20 69 | Master |Server i|
|00001250| 73 20 00 01 25 16 1f 3a | 00 16 53 36 a3 01 17 16 |s ..%..:|..S6....|
|00001260| 16 0f 00 28 92 19 01 10 | 05 00 04 01 9c 26 16 07 |...(....|.....&..|
|00001270| 00 01 9a 1b 1b 00 28 27 | 16 25 16 e7 1f 55 64 70 |......('|.%...Udp|
|00001280| 53 65 72 76 65 72 55 70 | 6c 69 6e 6b 3a 20 45 72 |ServerUp|link: Er|
|00001290| 72 6f 72 20 62 69 6e 64 | 69 6e 67 20 70 6f 72 74 |ror bind|ing port|
|000012a0| 2c 20 61 62 6f 72 74 69 | 6e 67 2e 00 16 04 0b e7 |, aborti|ng......|
|000012b0| 70 70 1f 55 64 70 53 65 | 72 76 65 72 55 70 6c 69 |pp.UdpSe|rverUpli|
|000012c0| 6e 6b 3a 20 50 6f 72 74 | 20 00 53 00 28 16 1f 20 |nk: Port| .S.(.. |
|000012d0| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 20 62 6f 75 |successf|ully bou|
|000012e0| 6e 64 2e 00 16 16 1b 0d | 16 04 0b 00 00 00 02 00 |nd......|........|
|000012f0| 00 00 00 00 66 01 00 0a | 04 55 00 00 00 b2 08 00 |....f...|.U......|
|00001300| 00 67 01 00 00 07 0e 00 | 7a 00 0a 1f 00 16 04 28 |.g......|z......(|
|00001310| 07 63 01 7a 80 00 0a 26 | 16 1f 5c 00 16 0f 00 16 |.c.z...&|..\.....|
|00001320| 7e ea 00 0a 93 7d 00 0a | 16 26 16 16 1f 5c 00 16 |~....}..|.&...\..|
|00001330| 07 47 00 9a 00 16 25 16 | 04 28 0f 00 4f 01 00 0a |.G....%.|.(..O...|
|00001340| 0f 00 19 ea 00 0a 93 7d | 00 0a 16 26 16 16 0f 00 |.......}|...&....|
|00001350| 19 80 00 19 00 16 16 0f | 00 0e ea 00 0a 93 7d 00 |........|......}.|
|00001360| 0a 16 92 7d 00 19 16 2c | 02 16 16 16 07 c9 00 84 |...}...,|........|
|00001370| 7a 00 0e 1f 00 16 18 0b | 00 9a 7d 00 0e 16 26 16 |z.......|..}...&.|
|00001380| 16 0f 00 3a 1f 66 69 6e | 61 6c 00 04 27 06 db 00 |...:.fin|al..'...|
|00001390| 07 db 00 7a 80 00 0e 26 | 16 1f 5c 00 16 04 27 0f |...z...&|..\...'.|
|000013a0| 00 16 7e 00 0e 1f 5c 00 | 16 07 0b 01 99 00 16 25 |..~...\.|.......%|
|000013b0| 16 0f 00 2b 80 00 0e 00 | 16 16 06 16 01 0f 00 2b |...+....|.......+|
|000013c0| 00 0e 0f 00 0e ea 00 0a | 93 7d 00 0a 16 92 92 7d |........|.}.....}|
|000013d0| 00 19 16 7d 00 2b 16 16 | 2c 03 16 16 16 07 5e 01 |...}.+..|,.....^.|
|000013e0| 7a 00 0e 1f 00 16 0f 00 | 3a 1f 66 69 6e 61 6c 00 |z.......|:.final.|
|000013f0| 04 27 06 60 01 04 27 06 | 65 01 04 28 04 0b 00 00 |.'.`..'.|e..(....|
|00001400| 00 02 00 00 00 00 00 72 | 01 00 41 01 09 5d 01 00 |.......r|..A..]..|
|00001410| 00 26 26 00 00 39 01 00 | 00 14 2d 00 24 28 0f 00 |.&&..9..|..-.$(..|
|00001420| 13 19 01 88 05 00 04 01 | b9 07 30 01 96 00 1c 19 |........|..0.....|
|00001430| 19 01 88 05 00 04 01 8c | 05 00 04 01 98 16 07 19 |........|........|
|00001440| 01 19 00 13 08 00 04 61 | 2f 21 1d 16 07 c5 00 82 |.......a|/!......|
|00001450| 9a 00 1c 93 19 19 01 88 | 05 00 04 01 8c 05 00 04 |........|........|
|00001460| 01 98 26 16 16 18 0f 00 | 7a 00 51 01 1f 66 69 6e |..&.....|z.Q..fin|
|00001470| 61 6c 00 16 16 14 2d 00 | 2a 1b 01 00 41 01 1b 07 |al....-.|*...A...|
|00001480| 2e 8f 00 13 00 1c 16 00 | 36 a3 00 35 16 1f 66 69 |........|6..5..fi|
|00001490| 6e 61 6c 00 16 06 fa 00 | 14 2d 00 2a 1b 01 00 41 |nal.....|.-.*...A|
|000014a0| 01 1b 07 2e 8f 00 13 00 | 1c 16 00 36 a3 00 35 16 |........|...6..5.|
|000014b0| 1f 00 16 14 2d 00 24 84 | 2d 00 2a 18 07 00 2d 00 |....-.$.|-.*...-.|
|000014c0| 24 16 a5 00 1c 16 0f 00 | 13 19 00 13 05 00 04 01 |$.......|........|
|000014d0| b3 06 1c 00 04 2d 00 24 | 04 0b 00 00 00 02 00 00 |.....-.$|........|
|000014e0| 00 00 00 13 01 00 00 00 | 80 05 00 00 00 00 b8 69 |........|.......i|
|000014f0| 01 00 00 22 69 00 00 00 | 6a 0c 00 00 49 00 00 00 |..."i...|j...I...|
|00001500| e7 1f 55 64 70 53 65 72 | 76 65 72 55 70 6c 69 6e |..UdpSer|verUplin|
|00001510| 6b 3a 20 46 61 69 6c 65 | 64 20 74 6f 20 72 65 73 |k: Faile|d to res|
|00001520| 6f 6c 76 65 20 6d 61 73 | 74 65 72 20 73 65 72 76 |olve mas|ter serv|
|00001530| 65 72 20 61 64 64 72 65 | 73 73 2c 20 61 62 6f 72 |er addre|ss, abor|
|00001540| 74 69 6e 67 2e 00 16 04 | 0b 00 00 00 02 00 00 00 |ting....|........|
|00001550| 00 00 28 01 00 00 00 00 | 00 00 00 00 00 00 02 01 |..(.....|........|
|00001560| 00 00 00 80 05 40 00 00 | 00 00 7a 01 00 42 01 16 |.....@..|..z..B..|
|00001570| 80 01 00 00 66 29 00 00 | 3c 00 00 00 0f 00 43 01 |....f)..|<.....C.|
|00001580| 70 70 70 1f 5c 00 00 42 | 01 16 1f 5c 00 16 19 19 |ppp.\..B|...\....|
|00001590| 01 88 05 00 04 01 8c 0b | 00 00 1c 9a 00 42 01 16 |........|.....B..|
|000015a0| 16 04 00 43 01 04 0b 00 | 00 00 02 00 00 00 00 00 |...C....|........|
|000015b0| 70 01 00 3c 13 8c 01 00 | 00 67 2a 00 00 60 00 00 |p..<....|.g*..`..|
|000015c0| 00 2f 61 30 20 8f 00 48 | 01 16 57 00 a5 00 3d 16 |./a0 ..H|..W...=.|
|000015d0| 0f 00 29 70 70 70 70 70 | 70 00 29 1f 5c 00 16 00 |..)ppppp|p.).\...|
|000015e0| 3c 16 1f 5f 00 16 53 00 | 3d 16 1f 5c 00 16 19 00 |<.._..S.|=..\....|
|000015f0| 48 01 0b 00 00 1c 9a 00 | 3c 16 16 31 30 04 00 29 |H.......|<..10..)|
|00001600| 04 0b 00 00 00 02 00 00 | 00 00 00 74 01 00 0c 07 |........|...t....|
|00001610| 38 01 00 00 41 22 00 00 | 06 02 00 00 0f 00 02 70 |8...A"..|.......p|
|00001620| 70 70 1f 5c 70 6c 61 79 | 65 72 5f 00 53 00 0d 16 |pp.\play|er_.S...|
|00001630| 1f 5c 00 16 19 19 00 0c | 05 00 04 01 9b 05 00 00 |.\......|........|
|00001640| 01 b2 16 0f 00 02 70 70 | 70 70 00 02 1f 5c 66 72 |......pp|pp...\fr|
|00001650| 61 67 73 5f 00 16 53 00 | 0d 16 1f 5c 00 16 53 44 |ags_..S.|...\..SD|
|00001660| 19 19 00 0c 05 00 04 01 | 9b 05 00 04 01 ae 16 0f |........|........|
|00001670| 00 02 70 70 70 70 00 02 | 1f 5c 70 69 6e 67 5f 00 |..pppp..|.\ping_.|
|00001680| 16 53 00 0d 16 1f 5c 00 | 16 19 00 0c 0f 00 00 1b |.S....\.|........|
|00001690| 28 1f 47 45 54 50 49 4e | 47 00 16 16 0f 00 02 70 |(.GETPIN|G......p|
|000016a0| 70 70 70 00 02 1f 5c 74 | 65 61 6d 5f 00 16 53 00 |ppp...\t|eam_..S.|
|000016b0| 0d 16 1f 5c 00 16 52 19 | 19 00 0c 05 00 04 01 9b |...\..R.|........|
|000016c0| 05 00 01 01 b1 16 0f 00 | 02 70 70 70 70 00 02 1f |........|.pppp...|
|000016d0| 5c 6d 65 73 68 5f 00 16 | 53 00 0d 16 1f 5c 00 16 |\mesh_..|S....\..|
|000016e0| 19 00 0c 05 00 00 01 b6 | 16 07 a5 01 72 19 00 0c |........|....r...|
|000016f0| 05 00 04 01 a9 2a 16 19 | 00 0c 15 00 00 1b 25 00 |.....*..|......%.|
|00001700| 0c 00 3e 00 3f 16 0f 00 | 02 70 70 70 70 00 02 1f |..>.?...|.pppp...|
|00001710| 5c 73 6b 69 6e 5f 00 16 | 53 00 0d 16 1f 5c 00 16 |\skin_..|S....\..|
|00001720| 00 3e 16 0f 00 02 70 70 | 70 70 00 02 1f 5c 66 61 |.>....pp|pp...\fa|
|00001730| 63 65 5f 00 16 53 00 0d | 16 1f 5c 00 16 00 3f 16 |ce_..S..|..\...?.|
|00001740| 06 fe 01 0f 00 02 70 70 | 70 70 00 02 1f 5c 73 6b |......pp|pp...\sk|
|00001750| 69 6e 5f 00 16 53 00 0d | 16 1f 5c 00 16 56 19 00 |in_..S..|..\..V..|
|00001760| 0c 05 00 04 01 a9 16 0f | 00 02 70 70 70 00 02 1f |........|..ppp...|
|00001770| 5c 66 61 63 65 5f 00 16 | 53 00 0d 16 1f 5c 4e 6f |\face_..|S....\No|
|00001780| 6e 65 00 16 04 00 02 04 | 0b 00 00 00 02 00 00 00 |ne......|........|
|00001790| 00 00 7d 01 00 09 04 a4 | 00 00 00 88 11 00 00 67 |..}.....|.......g|
|000017a0| 01 00 00 07 0e 00 7a 00 | 09 1f 00 16 04 28 07 63 |......z.|.....(.c|
|000017b0| 01 7a 80 00 09 26 16 1f | 5c 00 16 0f 00 11 7e ea |.z...&..|\.....~.|
|000017c0| 00 09 93 7d 00 09 16 26 | 16 16 1f 5c 00 16 07 47 |...}...&|...\...G|
|000017d0| 00 9a 00 11 25 16 04 28 | 0f 00 65 01 00 09 0f 00 |....%..(|..e.....|
|000017e0| 1d ea 00 09 93 7d 00 09 | 16 26 16 16 0f 00 1d 80 |.....}..|.&......|
|000017f0| 00 1d 00 11 16 0f 00 0b | ea 00 09 93 7d 00 09 16 |........|....}...|
|00001800| 92 7d 00 1d 16 2c 02 16 | 16 16 07 c9 00 84 7a 00 |.}...,..|......z.|
|00001810| 0b 1f 00 16 18 0b 00 9a | 7d 00 0b 16 26 16 16 0f |........|}...&...|
|00001820| 00 33 1f 66 69 6e 61 6c | 00 04 27 06 db 00 07 db |.3.final|..'.....|
|00001830| 00 7a 80 00 0b 26 16 1f | 5c 00 16 04 27 0f 00 11 |.z...&..|\...'...|
|00001840| 7e 00 0b 1f 5c 00 16 07 | 0b 01 99 00 11 25 16 0f |~...\...|.....%..|
|00001850| 00 2d 80 00 0b 00 11 16 | 06 16 01 0f 00 2d 00 0b |.-......|.....-..|
|00001860| 0f 00 0b ea 00 09 93 7d | 00 09 16 92 92 7d 00 1d |.......}|.....}..|
|00001870| 16 7d 00 2d 16 16 2c 03 | 16 16 16 07 5e 01 7a 00 |.}.-..,.|....^.z.|
|00001880| 0b 1f 00 16 0f 00 33 1f | 66 69 6e 61 6c 00 04 27 |......3.|final..'|
|00001890| 06 60 01 04 27 06 65 01 | 04 28 04 0b 00 00 00 02 |.`..'.e.|.(......|
|000018a0| 00 00 00 00 00 78 01 00 | 4d 02 03 24 01 00 00 0a |.....x..|M..$....|
|000018b0| 20 00 00 ed 00 00 00 0f | 00 14 19 19 01 88 05 00 | .......|........|
|000018c0| 04 01 8c 06 00 00 1b 03 | 16 07 81 00 7b 19 19 19 |........|....{...|
|000018d0| 01 88 05 00 04 01 8c 05 | 00 04 01 95 05 00 00 01 |........|........|
|000018e0| a0 1f 00 16 0f 00 14 70 | 70 00 14 1f 5c 41 64 6d |.......p|p...\Adm|
|000018f0| 69 6e 4e 61 6d 65 5c 00 | 16 19 19 19 01 88 05 00 |inName\.|........|
|00001900| 04 01 8c 05 00 04 01 95 | 05 00 00 01 a0 16 07 e5 |........|........|
|00001910| 00 7b 19 19 19 01 88 05 | 00 04 01 8c 05 00 04 01 |.{......|........|
|00001920| 95 05 00 00 01 a1 1f 00 | 16 0f 00 14 70 70 00 14 |........|....pp..|
|00001930| 1f 5c 41 64 6d 69 6e 45 | 4d 61 69 6c 5c 00 16 19 |.\AdminE|Mail\...|
|00001940| 19 19 01 88 05 00 04 01 | 8c 05 00 04 01 95 05 00 |........|........|
|00001950| 00 01 a1 16 04 00 14 04 | 0b 00 00 00 02 00 00 00 |........|........|
|00001960| 00 9f 62 01 00 2c 17 1d | 00 00 00 af 03 00 00 a0 |..b..,..|........|
|00001970| 00 00 00 0f 01 af 01 62 | 01 0f 00 2c 1b 1b 19 19 |.......b|...,....|
|00001980| 01 88 05 00 04 01 8c 06 | 00 04 1b 0f 16 27 16 07 |........|.....'..|
|00001990| 65 00 9a 00 2c 25 16 e7 | 1f 55 64 70 53 65 72 76 |e...,%..|.UdpServ|
|000019a0| 65 72 51 75 65 72 79 3a | 20 50 6f 72 74 20 66 61 |erQuery:| Port fa|
|000019b0| 69 6c 65 64 20 74 6f 20 | 62 69 6e 64 2e 00 16 04 |iled to |bind....|
|000019c0| 0b e7 70 70 1f 55 64 70 | 53 65 72 76 65 72 51 75 |..pp.Udp|ServerQu|
|000019d0| 65 72 79 3a 20 50 6f 72 | 74 20 00 53 00 2c 16 1f |ery: Por|t .S.,..|
|000019e0| 20 73 75 63 63 65 73 73 | 66 75 6c 6c 79 20 62 6f | success|fully bo|
|000019f0| 75 6e 64 2e 00 16 16 04 | 0b 00 00 00 02 00 00 00 |und.....|........|
|00001a00| 00 00 01 01 00 00 00 80 | 05 40 00 00 00 00 44 01 |........|.@....D.|
|00001a10| 01 00 00 00 80 05 40 00 | 00 00 00 44 02 00 76 01 |......@.|...D..v.|
|00001a20| 06 f5 00 00 00 76 1a 00 | 00 04 02 00 00 0f 00 01 |.....v..|........|
|00001a30| 70 1f 5c 68 6f 73 74 6e | 61 6d 65 5c 00 19 19 19 |p.\hostn|ame\....|
|00001a40| 01 88 05 00 04 01 8c 05 | 00 04 01 95 05 00 00 01 |........|........|
|00001a50| b4 16 0f 00 01 70 70 00 | 01 1f 5c 68 6f 73 74 70 |.....pp.|..\hostp|
|00001a60| 6f 72 74 5c 00 16 53 19 | 19 01 88 05 00 04 01 8c |ort\..S.|........|
|00001a70| 06 00 04 1b 0f 16 16 0f | 00 01 70 70 00 01 1f 5c |........|..pp...\|
|00001a80| 6d 61 70 74 69 74 6c 65 | 5c 00 16 19 01 88 05 00 |maptitle|\.......|
|00001a90| 00 01 aa 16 0f 00 01 70 | 70 00 01 1f 5c 6d 61 70 |.......p|p...\map|
|00001aa0| 6e 61 6d 65 5c 00 16 80 | 56 01 88 7e 56 01 88 1f |name\...|V..~V...|
|00001ab0| 2e 00 16 16 16 0f 00 01 | 70 70 00 01 1f 5c 67 61 |........|pp...\ga|
|00001ac0| 6d 65 74 79 70 65 5c 00 | 16 1b 23 56 19 19 01 88 |metype\.|..#V....|
|00001ad0| 05 00 04 01 8c 05 00 04 | 01 b0 16 16 0f 00 01 70 |........|.......p|
|00001ae0| 70 00 01 1f 5c 6e 75 6d | 70 6c 61 79 65 72 73 5c |p...\num|players\|
|00001af0| 00 16 53 19 19 01 88 05 | 00 04 01 8c 05 00 04 01 |..S.....|........|
|00001b00| 98 16 0f 00 01 70 70 00 | 01 1f 5c 6d 61 78 70 6c |.....pp.|..\maxpl|
|00001b10| 61 79 65 72 73 5c 00 16 | 53 19 19 01 88 05 00 04 |ayers\..|S.......|
|00001b20| 01 8c 05 00 04 01 ab 16 | 0f 00 01 70 00 01 1f 5c |........|...p...\|
|00001b30| 67 61 6d 65 6d 6f 64 65 | 5c 6f 70 65 6e 70 6c 61 |gamemode|\openpla|
|00001b40| 79 69 6e 67 00 16 0f 00 | 01 70 70 00 01 1f 5c 67 |ying....|.pp...\g|
|00001b50| 61 6d 65 76 65 72 5c 00 | 16 19 01 88 05 00 00 01 |amever\.|........|
|00001b60| a7 16 0f 00 01 70 70 00 | 01 1f 5c 6d 69 6e 6e 65 |.....pp.|..\minne|
|00001b70| 74 76 65 72 5c 00 16 19 | 01 88 05 00 00 01 a8 16 |tver\...|........|
|00001b80| 0f 00 01 70 00 01 19 19 | 01 88 05 00 04 01 8c 06 |...p....|........|
|00001b90| 00 00 1b 06 16 16 04 00 | 01 04 0b 00 00 00 02 00 |........|........|
|00001ba0| 00 00 00 00 65 01 01 00 | 00 00 80 05 00 00 00 00 |....e...|........|
|00001bb0| 00 6b 01 00 45 01 11 76 | 01 00 00 8d 28 00 00 33 |.k..E..v|....(..3|
|00001bc0| 00 00 00 0f 00 44 01 70 | 70 70 1f 5c 00 00 45 01 |.....D.p|pp.\..E.|
|00001bd0| 16 1f 5c 00 16 19 01 88 | 0b 00 00 1c 9a 00 45 01 |..\.....|......E.|
|00001be0| 16 16 04 00 44 01 04 0b | 00 00 00 02 00 00 00 00 |....D...|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 5e 69 2f 2f 3d 3d 3d 3d |........|^i//====|
|00001c00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001c10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001c20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001c30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001c40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 55 64 |========|=..// Ud|
|00001c50| 70 53 65 72 76 65 72 55 | 70 6c 69 6e 6b 0d 0a 2f |pServerU|plink../|
|00001c60| 2f 0d 0a 2f 2f 20 56 65 | 72 73 69 6f 6e 3a 20 31 |/..// Ve|rsion: 1|
|00001c70| 2e 33 0d 0a 2f 2f 0d 0a | 2f 2f 20 54 68 69 73 20 |.3..//..|// This |
|00001c80| 75 70 6c 69 6e 6b 20 69 | 73 20 63 6f 6d 70 6c 69 |uplink i|s compli|
|00001c90| 61 6e 74 20 77 69 74 68 | 20 74 68 65 20 47 61 6d |ant with| the Gam|
|00001ca0| 65 53 70 79 20 55 70 6c | 69 6e 6b 20 53 70 65 63 |eSpy Upl|ink Spec|
|00001cb0| 69 66 69 63 61 74 69 6f | 6e 2e 0d 0a 2f 2f 20 54 |ificatio|n...// T|
|00001cc0| 68 65 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |he speci|fication|
|00001cd0| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 20 61 74 | is avai|lable at|
|00001ce0| 20 68 74 74 70 3a 2f 2f | 77 77 77 2e 67 61 6d 65 | http://|www.game|
|00001cf0| 73 70 79 2e 63 6f 6d 2f | 64 65 76 65 6c 6f 70 65 |spy.com/|develope|
|00001d00| 72 0d 0a 2f 2f 20 61 6e | 64 20 6d 69 67 68 74 20 |r..// an|d might |
|00001d10| 62 65 20 6f 66 20 75 73 | 65 20 74 6f 20 70 72 6f |be of us|e to pro|
|00001d20| 67 61 6d 6d 65 72 73 20 | 77 68 6f 20 77 61 6e 74 |gammers |who want|
|00001d30| 20 74 6f 20 61 64 61 70 | 74 20 74 68 65 69 72 20 | to adap|t their |
|00001d40| 6f 77 6e 0d 0a 2f 2f 20 | 73 65 72 76 65 72 20 75 |own..// |server u|
|00001d50| 70 6c 69 6e 6b 73 2e 0d | 0a 2f 2f 0d 0a 2f 2f 20 |plinks..|.//..// |
|00001d60| 55 64 70 53 65 72 76 65 | 72 55 70 6c 69 6e 6b 20 |UdpServe|rUplink |
|00001d70| 73 65 6e 64 73 20 61 20 | 68 65 61 72 74 62 65 61 |sends a |heartbea|
|00001d80| 74 20 74 6f 20 74 68 65 | 20 73 70 65 63 69 66 69 |t to the| specifi|
|00001d90| 65 64 20 6d 61 73 74 65 | 72 20 73 65 72 76 65 72 |ed maste|r server|
|00001da0| 0d 0a 2f 2f 20 65 76 65 | 72 79 20 66 69 76 65 20 |..// eve|ry five |
|00001db0| 6d 69 6e 75 74 65 73 2e | 20 20 54 68 65 20 68 65 |minutes.| The he|
|00001dc0| 61 72 74 62 65 61 74 20 | 69 73 20 69 6e 20 74 68 |artbeat |is in th|
|00001dd0| 65 20 66 6f 72 6d 3a 0d | 0a 2f 2f 20 20 20 20 5c |e form:.|.// \|
|00001de0| 68 65 61 72 74 62 65 61 | 74 5c 51 75 65 72 79 50 |heartbea|t\QueryP|
|00001df0| 6f 72 74 5c 67 61 6d 65 | 6e 61 6d 65 5c 75 6e 72 |ort\game|name\unr|
|00001e00| 65 61 6c 0d 0a 2f 2f 0d | 0a 2f 2f 20 46 75 6c 6c |eal..//.|.// Full|
|00001e10| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 6f | documen|tation o|
|00001e20| 6e 20 74 68 69 73 20 63 | 6c 61 73 73 20 69 73 20 |n this c|lass is |
|00001e30| 61 76 61 69 6c 61 62 6c | 65 20 61 74 20 68 74 74 |availabl|e at htt|
|00001e40| 70 3a 2f 2f 75 6e 72 65 | 61 6c 2e 65 70 69 63 67 |p://unre|al.epicg|
|00001e50| 61 6d 65 73 2e 63 6f 6d | 2f 0d 0a 2f 2f 0d 0a 2f |ames.com|/..//../|
|00001e60| 2f 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |/=======|========|
|00001e70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001e80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001e90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001ea0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|00001eb0| 63 6c 61 73 73 20 55 64 | 70 53 65 72 76 65 72 55 |class Ud|pServerU|
|00001ec0| 70 6c 69 6e 6b 20 65 78 | 74 65 6e 64 73 20 55 64 |plink ex|tends Ud|
|00001ed0| 70 4c 69 6e 6b 20 63 6f | 6e 66 69 67 3b 0d 0a 0d |pLink co|nfig;...|
|00001ee0| 0a 2f 2f 20 4d 61 73 74 | 65 72 20 55 70 6c 69 6e |.// Mast|er Uplin|
|00001ef0| 6b 20 43 6f 6e 66 69 67 | 2e 0d 0a 76 61 72 28 29 |k Config|...var()|
|00001f00| 20 63 6f 6e 66 69 67 20 | 62 6f 6f 6c 09 09 44 6f | config |bool..Do|
|00001f10| 55 70 6c 69 6e 6b 3b 09 | 09 09 09 2f 2f 20 49 66 |Uplink;.|...// If|
|00001f20| 20 74 72 75 65 2c 20 64 | 6f 20 74 68 65 20 75 70 | true, d|o the up|
|00001f30| 6c 69 6e 6b 0d 0a 76 61 | 72 28 29 20 63 6f 6e 66 |link..va|r() conf|
|00001f40| 69 67 20 69 6e 74 09 09 | 55 70 64 61 74 65 4d 69 |ig int..|UpdateMi|
|00001f50| 6e 75 74 65 73 3b 09 09 | 09 2f 2f 20 50 65 72 69 |nutes;..|.// Peri|
|00001f60| 6f 64 20 6f 66 20 75 70 | 64 61 74 65 20 28 69 6e |od of up|date (in|
|00001f70| 20 6d 69 6e 75 74 65 73 | 29 0d 0a 76 61 72 28 29 | minutes|)..var()|
|00001f80| 20 63 6f 6e 66 69 67 20 | 73 74 72 69 6e 67 20 20 | config |string |
|00001f90| 20 20 20 4d 61 73 74 65 | 72 53 65 72 76 65 72 41 | Maste|rServerA|
|00001fa0| 64 64 72 65 73 73 3b 09 | 2f 2f 20 41 64 64 72 65 |ddress;.|// Addre|
|00001fb0| 73 73 20 6f 66 20 74 68 | 65 20 6d 61 73 74 65 72 |ss of th|e master|
|00001fc0| 20 73 65 72 76 65 72 0d | 0a 76 61 72 28 29 20 63 | server.|.var() c|
|00001fd0| 6f 6e 66 69 67 20 69 6e | 74 09 09 4d 61 73 74 65 |onfig in|t..Maste|
|00001fe0| 72 53 65 72 76 65 72 50 | 6f 72 74 3b 09 09 2f 2f |rServerP|ort;..//|
|00001ff0| 20 4f 70 74 69 6f 6e 61 | 6c 20 70 6f 72 74 20 74 | Optiona|l port t|
|00002000| 68 61 74 20 74 68 65 20 | 6d 61 73 74 65 72 20 73 |hat the |master s|
|00002010| 65 72 76 65 72 20 69 73 | 20 6c 69 73 74 65 6e 69 |erver is| listeni|
|00002020| 6e 67 20 6f 6e 0d 0a 76 | 61 72 28 29 20 63 6f 6e |ng on..v|ar() con|
|00002030| 66 69 67 20 69 6e 74 20 | 09 09 52 65 67 69 6f 6e |fig int |..Region|
|00002040| 3b 09 09 09 09 09 2f 2f | 20 52 65 67 69 6f 6e 20 |;.....//| Region |
|00002050| 6f 66 20 74 68 65 20 67 | 61 6d 65 20 73 65 72 76 |of the g|ame serv|
|00002060| 65 72 0d 0a 76 61 72 28 | 29 20 6e 61 6d 65 09 09 |er..var(|) name..|
|00002070| 09 09 54 61 72 67 65 74 | 51 75 65 72 79 4e 61 6d |..Target|QueryNam|
|00002080| 65 3b 09 09 2f 2f 20 4e | 61 6d 65 20 6f 66 20 74 |e;..// N|ame of t|
|00002090| 68 65 20 71 75 65 72 79 | 20 73 65 72 76 65 72 20 |he query| server |
|000020a0| 6f 62 6a 65 63 74 20 74 | 6f 20 75 73 65 2e 0d 0a |object t|o use...|
|000020b0| 76 61 72 20 49 70 41 64 | 64 72 09 09 09 09 4d 61 |var IpAd|dr....Ma|
|000020c0| 73 74 65 72 53 65 72 76 | 65 72 49 70 41 64 64 72 |sterServ|erIpAddr|
|000020d0| 3b 09 09 2f 2f 20 4d 61 | 73 74 65 72 20 73 65 72 |;..// Ma|ster ser|
|000020e0| 76 65 72 27 73 20 61 64 | 64 72 65 73 73 2e 0d 0a |ver's ad|dress...|
|000020f0| 76 61 72 20 73 74 72 69 | 6e 67 09 09 20 20 20 20 |var stri|ng.. |
|00002100| 20 20 20 20 48 65 61 72 | 74 62 65 61 74 4d 65 73 | Hear|tbeatMes|
|00002110| 73 61 67 65 3b 09 09 2f | 2f 20 54 68 65 20 6d 65 |sage;../|/ The me|
|00002120| 73 73 61 67 65 20 74 68 | 61 74 20 69 73 20 73 65 |ssage th|at is se|
|00002130| 6e 74 20 74 6f 20 74 68 | 65 20 6d 61 73 74 65 72 |nt to th|e master|
|00002140| 20 73 65 72 76 65 72 2e | 0d 0a 76 61 72 20 55 64 | server.|..var Ud|
|00002150| 70 53 65 72 76 65 72 51 | 75 65 72 79 20 20 20 20 |pServerQ|uery |
|00002160| 20 20 51 75 65 72 79 3b | 09 09 09 09 09 2f 2f 20 | Query;|.....// |
|00002170| 54 68 65 20 71 75 65 72 | 79 20 6f 62 6a 65 63 74 |The quer|y object|
|00002180| 2e 0d 0a 76 61 72 20 69 | 6e 74 09 09 09 09 20 20 |...var i|nt.... |
|00002190| 20 20 43 75 72 72 65 6e | 74 51 75 65 72 79 4e 75 | Curren|tQueryNu|
|000021a0| 6d 3b 09 09 2f 2f 20 51 | 75 65 72 79 20 49 44 20 |m;..// Q|uery ID |
|000021b0| 4e 75 6d 62 65 72 2e 0d | 0a 0d 0a 2f 2f 20 49 6e |Number..|...// In|
|000021c0| 69 74 69 61 6c 69 7a 65 | 2e 0d 0a 66 75 6e 63 74 |itialize|...funct|
|000021d0| 69 6f 6e 20 50 72 65 42 | 65 67 69 6e 50 6c 61 79 |ion PreB|eginPlay|
|000021e0| 28 29 0d 0a 7b 0d 0a 09 | 2f 2f 20 49 66 20 6d 61 |()..{...|// If ma|
|000021f0| 73 74 65 72 20 73 65 72 | 76 65 72 20 75 70 6c 69 |ster ser|ver upli|
|00002200| 6e 6b 20 69 73 6e 27 74 | 20 77 61 6e 74 65 64 2c |nk isn't| wanted,|
|00002210| 20 65 78 69 74 2e 0d 0a | 09 69 66 28 20 21 44 6f | exit...|.if( !Do|
|00002220| 55 70 6c 69 6e 6b 20 29 | 0d 0a 09 7b 0d 0a 09 09 |Uplink )|...{....|
|00002230| 4c 6f 67 28 22 44 6f 55 | 70 6c 69 6e 6b 20 69 73 |Log("DoU|plink is|
|00002240| 20 6e 6f 74 20 73 65 74 | 2e 20 20 4e 6f 74 20 63 | not set|. Not c|
|00002250| 6f 6e 6e 65 63 74 69 6e | 67 20 74 6f 20 4d 61 73 |onnectin|g to Mas|
|00002260| 74 65 72 20 53 65 72 76 | 65 72 2e 22 29 3b 0d 0a |ter Serv|er.");..|
|00002270| 09 09 72 65 74 75 72 6e | 3b 0d 0a 09 7d 0d 0a 0d |..return|;...}...|
|00002280| 0a 09 69 66 28 20 4c 65 | 76 65 6c 2e 4e 65 74 4d |..if( Le|vel.NetM|
|00002290| 6f 64 65 20 3d 3d 20 4e | 4d 5f 4c 69 73 74 65 6e |ode == N|M_Listen|
|000022a0| 53 65 72 76 65 72 20 29 | 0d 0a 09 7b 0d 0a 09 09 |Server )|...{....|
|000022b0| 4c 6f 67 28 22 54 68 69 | 73 20 69 73 20 61 20 4c |Log("Thi|s is a L|
|000022c0| 69 73 74 65 6e 20 73 65 | 72 76 65 72 2e 20 20 4e |isten se|rver. N|
|000022d0| 6f 74 20 63 6f 6e 6e 65 | 63 74 69 6e 67 20 74 6f |ot conne|cting to|
|000022e0| 20 4d 61 73 74 65 72 20 | 53 65 72 76 65 72 2e 22 | Master |Server."|
|000022f0| 29 3b 0d 0a 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 |);....re|turn;...|
|00002300| 7d 0d 0a 0d 0a 09 2f 2f | 20 46 69 6e 64 20 61 20 |}.....//| Find a |
|00002310| 74 68 65 20 73 65 72 76 | 65 72 20 71 75 65 72 79 |the serv|er query|
|00002320| 20 68 61 6e 64 6c 65 72 | 2e 0d 0a 09 66 6f 72 65 | handler|....fore|
|00002330| 61 63 68 20 41 6c 6c 41 | 63 74 6f 72 73 28 63 6c |ach AllA|ctors(cl|
|00002340| 61 73 73 27 55 64 70 53 | 65 72 76 65 72 51 75 65 |ass'UdpS|erverQue|
|00002350| 72 79 27 2c 20 51 75 65 | 72 79 2c 20 54 61 72 67 |ry', Que|ry, Targ|
|00002360| 65 74 51 75 65 72 79 4e | 61 6d 65 29 0d 0a 09 09 |etQueryN|ame)....|
|00002370| 62 72 65 61 6b 3b 0d 0a | 0d 0a 09 69 66 28 20 51 |break;..|...if( Q|
|00002380| 75 65 72 79 3d 3d 4e 6f | 6e 65 20 29 0d 0a 09 7b |uery==No|ne )...{|
|00002390| 0d 0a 09 09 4c 6f 67 28 | 22 55 64 70 53 65 72 76 |....Log(|"UdpServ|
|000023a0| 65 72 55 70 6c 69 6e 6b | 3a 20 43 6f 75 6c 64 20 |erUplink|: Could |
|000023b0| 6e 6f 74 20 66 69 6e 64 | 20 61 20 55 64 70 53 65 |not find| a UdpSe|
|000023c0| 72 76 65 72 51 75 65 72 | 79 20 6f 62 6a 65 63 74 |rverQuer|y object|
|000023d0| 2c 20 61 62 6f 72 74 69 | 6e 67 2e 22 29 3b 0d 0a |, aborti|ng.");..|
|000023e0| 09 09 72 65 74 75 72 6e | 3b 0d 0a 09 7d 0d 0a 0d |..return|;...}...|
|000023f0| 0a 09 2f 2f 20 53 65 74 | 20 68 65 61 72 74 62 65 |..// Set| heartbe|
|00002400| 61 74 20 6d 65 73 73 61 | 67 65 2e 0d 0a 09 48 65 |at messa|ge....He|
|00002410| 61 72 74 62 65 61 74 4d | 65 73 73 61 67 65 20 3d |artbeatM|essage =|
|00002420| 20 22 5c 5c 68 65 61 72 | 74 62 65 61 74 5c 5c 22 | "\\hear|tbeat\\"|
|00002430| 24 51 75 65 72 79 2e 50 | 6f 72 74 24 22 5c 5c 67 |$Query.P|ort$"\\g|
|00002440| 61 6d 65 6e 61 6d 65 5c | 5c 22 24 51 75 65 72 79 |amename\|\"$Query|
|00002450| 2e 47 61 6d 65 4e 61 6d | 65 3b 0d 0a 0d 0a 09 2f |.GameNam|e;...../|
|00002460| 2f 20 53 65 74 20 74 68 | 65 20 50 6f 72 74 2e 0d |/ Set th|e Port..|
|00002470| 0a 09 4d 61 73 74 65 72 | 53 65 72 76 65 72 49 70 |..Master|ServerIp|
|00002480| 41 64 64 72 2e 50 6f 72 | 74 20 3d 20 4d 61 73 74 |Addr.Por|t = Mast|
|00002490| 65 72 53 65 72 76 65 72 | 50 6f 72 74 3b 0d 0a 0d |erServer|Port;...|
|000024a0| 0a 09 2f 2f 20 52 65 73 | 6f 6c 76 65 20 74 68 65 |..// Res|olve the|
|000024b0| 20 41 64 64 72 65 73 73 | 2e 0d 0a 09 69 66 28 20 | Address|....if( |
|000024c0| 4d 61 73 74 65 72 53 65 | 72 76 65 72 41 64 64 72 |MasterSe|rverAddr|
|000024d0| 65 73 73 3d 3d 22 22 20 | 29 0d 0a 09 09 4d 61 73 |ess=="" |)....Mas|
|000024e0| 74 65 72 53 65 72 76 65 | 72 41 64 64 72 65 73 73 |terServe|rAddress|
|000024f0| 20 3d 20 22 6d 61 73 74 | 65 72 22 24 52 65 67 69 | = "mast|er"$Regi|
|00002500| 6f 6e 24 22 2e 67 61 6d | 65 73 70 79 2e 63 6f 6d |on$".gam|espy.com|
|00002510| 22 3b 0d 0a 09 52 65 73 | 6f 6c 76 65 28 20 4d 61 |";...Res|olve( Ma|
|00002520| 73 74 65 72 53 65 72 76 | 65 72 41 64 64 72 65 73 |sterServ|erAddres|
|00002530| 73 20 29 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 57 68 |s );..}.|...// Wh|
|00002540| 65 6e 20 6d 61 73 74 65 | 72 20 73 65 72 76 65 72 |en maste|r server|
|00002550| 20 61 64 64 72 65 73 73 | 20 69 73 20 72 65 73 6f | address| is reso|
|00002560| 6c 76 65 64 2e 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |lved...f|unction |
|00002570| 52 65 73 6f 6c 76 65 64 | 28 20 49 70 41 64 64 72 |Resolved|( IpAddr|
|00002580| 20 41 64 64 72 20 29 0d | 0a 7b 0d 0a 09 6c 6f 63 | Addr ).|.{...loc|
|00002590| 61 6c 20 62 6f 6f 6c 20 | 52 65 73 75 6c 74 3b 0d |al bool |Result;.|
|000025a0| 0a 09 6c 6f 63 61 6c 20 | 69 6e 74 20 55 70 6c 69 |..local |int Upli|
|000025b0| 6e 6b 50 6f 72 74 3b 0d | 0a 0d 0a 09 2f 2f 20 53 |nkPort;.|....// S|
|000025c0| 65 74 20 74 68 65 20 61 | 64 64 72 65 73 73 0d 0a |et the a|ddress..|
|000025d0| 09 4d 61 73 74 65 72 53 | 65 72 76 65 72 49 70 41 |.MasterS|erverIpA|
|000025e0| 64 64 72 2e 41 64 64 72 | 20 3d 20 41 64 64 72 2e |ddr.Addr| = Addr.|
|000025f0| 41 64 64 72 3b 0d 0a 0d | 0a 09 2f 2f 20 48 61 6e |Addr;...|..// Han|
|00002600| 64 6c 65 20 66 61 69 6c | 75 72 65 2e 0d 0a 09 69 |dle fail|ure....i|
|00002610| 66 28 20 4d 61 73 74 65 | 72 53 65 72 76 65 72 49 |f( Maste|rServerI|
|00002620| 70 41 64 64 72 2e 41 64 | 64 72 20 3d 3d 20 30 20 |pAddr.Ad|dr == 0 |
|00002630| 29 0d 0a 09 7b 0d 0a 09 | 09 4c 6f 67 28 22 55 64 |)...{...|.Log("Ud|
|00002640| 70 53 65 72 76 65 72 55 | 70 6c 69 6e 6b 3a 20 49 |pServerU|plink: I|
|00002650| 6e 76 61 6c 69 64 20 6d | 61 73 74 65 72 20 73 65 |nvalid m|aster se|
|00002660| 72 76 65 72 20 61 64 64 | 72 65 73 73 2c 20 61 62 |rver add|ress, ab|
|00002670| 6f 72 74 69 6e 67 2e 22 | 29 3b 0d 0a 09 09 72 65 |orting."|);....re|
|00002680| 74 75 72 6e 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 2f 2f |turn;...|}.....//|
|00002690| 20 44 69 73 70 6c 61 79 | 20 73 75 63 63 65 73 73 | Display| success|
|000026a0| 20 6d 65 73 73 61 67 65 | 2e 0d 0a 09 4c 6f 67 28 | message|....Log(|
|000026b0| 22 55 64 70 53 65 72 76 | 65 72 55 70 6c 69 6e 6b |"UdpServ|erUplink|
|000026c0| 3a 20 4d 61 73 74 65 72 | 20 53 65 72 76 65 72 20 |: Master| Server |
|000026d0| 69 73 20 22 24 4d 61 73 | 74 65 72 53 65 72 76 65 |is "$Mas|terServe|
|000026e0| 72 41 64 64 72 65 73 73 | 24 22 3a 22 24 4d 61 73 |rAddress|$":"$Mas|
|000026f0| 74 65 72 53 65 72 76 65 | 72 49 70 41 64 64 72 2e |terServe|rIpAddr.|
|00002700| 50 6f 72 74 29 3b 0d 0a | 09 0d 0a 09 2f 2f 20 42 |Port);..|....// B|
|00002710| 69 6e 64 20 74 68 65 20 | 6c 6f 63 61 6c 20 70 6f |ind the |local po|
|00002720| 72 74 2e 0d 0a 09 55 70 | 6c 69 6e 6b 50 6f 72 74 |rt....Up|linkPort|
|00002730| 20 3d 20 51 75 65 72 79 | 2e 50 6f 72 74 20 2b 20 | = Query|.Port + |
|00002740| 31 3b 0d 0a 09 69 66 28 | 20 42 69 6e 64 50 6f 72 |1;...if(| BindPor|
|00002750| 74 28 55 70 6c 69 6e 6b | 50 6f 72 74 2c 20 74 72 |t(Uplink|Port, tr|
|00002760| 75 65 29 20 3d 3d 20 30 | 20 29 0d 0a 09 7b 0d 0a |ue) == 0| )...{..|
|00002770| 09 09 4c 6f 67 28 20 22 | 55 64 70 53 65 72 76 65 |..Log( "|UdpServe|
|00002780| 72 55 70 6c 69 6e 6b 3a | 20 45 72 72 6f 72 20 62 |rUplink:| Error b|
|00002790| 69 6e 64 69 6e 67 20 70 | 6f 72 74 2c 20 61 62 6f |inding p|ort, abo|
|000027a0| 72 74 69 6e 67 2e 22 20 | 29 3b 0d 0a 09 09 72 65 |rting." |);....re|
|000027b0| 74 75 72 6e 3b 0d 0a 09 | 7d 0d 0a 09 4c 6f 67 28 |turn;...|}...Log(|
|000027c0| 22 55 64 70 53 65 72 76 | 65 72 55 70 6c 69 6e 6b |"UdpServ|erUplink|
|000027d0| 3a 20 50 6f 72 74 20 22 | 24 55 70 6c 69 6e 6b 50 |: Port "|$UplinkP|
|000027e0| 6f 72 74 24 22 20 73 75 | 63 63 65 73 73 66 75 6c |ort$" su|ccessful|
|000027f0| 6c 79 20 62 6f 75 6e 64 | 2e 22 29 3b 0d 0a 0d 0a |ly bound|.");....|
|00002800| 09 2f 2f 20 53 74 61 72 | 74 20 74 72 61 6e 73 6d |.// Star|t transm|
|00002810| 69 74 74 69 6e 67 2e 0d | 0a 09 52 65 73 75 6d 65 |itting..|..Resume|
|00002820| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 2f 2f 20 48 6f 73 |();..}..|..// Hos|
|00002830| 74 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 66 61 69 |t resolu|tion fai|
|00002840| 6c 75 65 2e 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 52 |lue...fu|nction R|
|00002850| 65 73 6f 6c 76 65 46 61 | 69 6c 65 64 28 29 0d 0a |esolveFa|iled()..|
|00002860| 7b 0d 0a 09 4c 6f 67 28 | 22 55 64 70 53 65 72 76 |{...Log(|"UdpServ|
|00002870| 65 72 55 70 6c 69 6e 6b | 3a 20 46 61 69 6c 65 64 |erUplink|: Failed|
|00002880| 20 74 6f 20 72 65 73 6f | 6c 76 65 20 6d 61 73 74 | to reso|lve mast|
|00002890| 65 72 20 73 65 72 76 65 | 72 20 61 64 64 72 65 73 |er serve|r addres|
|000028a0| 73 2c 20 61 62 6f 72 74 | 69 6e 67 2e 22 29 3b 0d |s, abort|ing.");.|
|000028b0| 0a 7d 0d 0a 0d 0a 2f 2f | 20 4e 6f 74 69 66 79 20 |.}....//| Notify |
|000028c0| 74 68 65 20 4d 61 73 74 | 65 72 53 65 72 76 65 72 |the Mast|erServer|
|000028d0| 20 77 65 20 65 78 69 73 | 74 2e 0d 0a 66 75 6e 63 | we exis|t...func|
|000028e0| 74 69 6f 6e 20 54 69 6d | 65 72 28 29 0d 0a 7b 0d |tion Tim|er()..{.|
|000028f0| 0a 09 6c 6f 63 61 6c 20 | 62 6f 6f 6c 20 52 65 73 |..local |bool Res|
|00002900| 75 6c 74 3b 0d 0a 0d 0a | 09 52 65 73 75 6c 74 20 |ult;....|.Result |
|00002910| 3d 20 53 65 6e 64 54 65 | 78 74 28 20 4d 61 73 74 |= SendTe|xt( Mast|
|00002920| 65 72 53 65 72 76 65 72 | 49 70 41 64 64 72 2c 20 |erServer|IpAddr, |
|00002930| 48 65 61 72 74 62 65 61 | 74 4d 65 73 73 61 67 65 |Heartbea|tMessage|
|00002940| 20 29 3b 0d 0a 09 69 66 | 20 28 20 21 52 65 73 75 | );...if| ( !Resu|
|00002950| 6c 74 20 29 0d 0a 09 09 | 4c 6f 67 28 20 22 46 61 |lt )....|Log( "Fa|
|00002960| 69 6c 65 64 20 74 6f 20 | 73 65 6e 64 20 68 65 61 |iled to |send hea|
|00002970| 72 74 62 65 61 74 20 74 | 6f 20 6d 61 73 74 65 72 |rtbeat t|o master|
|00002980| 20 73 65 72 76 65 72 2e | 22 29 3b 0d 0a 7d 0d 0a | server.|");..}..|
|00002990| 0d 0a 2f 2f 20 53 74 6f | 70 20 74 68 65 20 75 70 |..// Sto|p the up|
|000029a0| 6c 69 6e 6b 2e 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |link...f|unction |
|000029b0| 48 61 6c 74 28 29 0d 0a | 7b 0d 0a 09 53 65 74 54 |Halt()..|{...SetT|
|000029c0| 69 6d 65 72 28 30 2e 30 | 2c 20 66 61 6c 73 65 29 |imer(0.0|, false)|
|000029d0| 3b 0d 0a 7d 0d 0a 0d 0a | 2f 2f 20 52 65 73 75 6d |;..}....|// Resum|
|000029e0| 65 20 74 68 65 20 75 70 | 6c 69 6e 6b 2e 0d 0a 66 |e the up|link...f|
|000029f0| 75 6e 63 74 69 6f 6e 20 | 52 65 73 75 6d 65 28 29 |unction |Resume()|
|00002a00| 0d 0a 7b 0d 0a 09 53 65 | 74 54 69 6d 65 72 28 55 |..{...Se|tTimer(U|
|00002a10| 70 64 61 74 65 4d 69 6e | 75 74 65 73 20 2a 20 36 |pdateMin|utes * 6|
|00002a20| 30 2c 20 74 72 75 65 29 | 3b 0d 0a 09 54 69 6d 65 |0, true)|;...Time|
|00002a30| 72 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 52 65 |r();..}.|...// Re|
|00002a40| 63 65 69 76 65 64 20 61 | 20 71 75 65 72 79 20 72 |ceived a| query r|
|00002a50| 65 71 75 65 73 74 2e 0d | 0a 65 76 65 6e 74 20 52 |equest..|.event R|
|00002a60| 65 63 65 69 76 65 64 54 | 65 78 74 28 20 49 70 41 |eceivedT|ext( IpA|
|00002a70| 64 64 72 20 41 64 64 72 | 2c 20 73 74 72 69 6e 67 |ddr Addr|, string|
|00002a80| 20 54 65 78 74 20 29 0d | 0a 7b 0d 0a 09 6c 6f 63 | Text ).|.{...loc|
|00002a90| 61 6c 20 73 74 72 69 6e | 67 20 51 75 65 72 79 3b |al strin|g Query;|
|00002aa0| 0d 0a 09 6c 6f 63 61 6c | 20 62 6f 6f 6c 20 51 75 |...local| bool Qu|
|00002ab0| 65 72 79 52 65 6d 61 69 | 6e 69 6e 67 3b 0d 0a 09 |eryRemai|ning;...|
|00002ac0| 6c 6f 63 61 6c 20 69 6e | 74 20 20 51 75 65 72 79 |local in|t Query|
|00002ad0| 4e 75 6d 2c 20 50 61 63 | 6b 65 74 4e 75 6d 3b 0d |Num, Pac|ketNum;.|
|00002ae0| 0a 0d 0a 09 2f 2f 20 41 | 73 73 69 67 6e 20 74 68 |....// A|ssign th|
|00002af0| 69 73 20 70 61 63 6b 65 | 74 20 61 20 75 6e 69 71 |is packe|t a uniq|
|00002b00| 75 65 20 76 61 6c 75 65 | 20 66 72 6f 6d 20 31 20 |ue value| from 1 |
|00002b10| 74 6f 20 31 30 30 0d 0a | 09 43 75 72 72 65 6e 74 |to 100..|.Current|
|00002b20| 51 75 65 72 79 4e 75 6d | 2b 2b 3b 0d 0a 09 69 66 |QueryNum|++;...if|
|00002b30| 20 28 43 75 72 72 65 6e | 74 51 75 65 72 79 4e 75 | (Curren|tQueryNu|
|00002b40| 6d 20 3e 20 31 30 30 29 | 0d 0a 09 09 43 75 72 72 |m > 100)|....Curr|
|00002b50| 65 6e 74 51 75 65 72 79 | 4e 75 6d 20 3d 20 31 3b |entQuery|Num = 1;|
|00002b60| 0d 0a 09 51 75 65 72 79 | 4e 75 6d 20 3d 20 43 75 |...Query|Num = Cu|
|00002b70| 72 72 65 6e 74 51 75 65 | 72 79 4e 75 6d 3b 0d 0a |rrentQue|ryNum;..|
|00002b80| 0d 0a 09 51 75 65 72 79 | 20 3d 20 54 65 78 74 3b |...Query| = Text;|
|00002b90| 0d 0a 09 69 66 20 28 51 | 75 65 72 79 20 3d 3d 20 |...if (Q|uery == |
|00002ba0| 22 22 29 09 09 2f 2f 20 | 49 66 20 74 68 65 20 73 |"")..// |If the s|
|00002bb0| 74 72 69 6e 67 20 69 73 | 20 65 6d 70 74 79 2c 20 |tring is| empty, |
|00002bc0| 64 6f 6e 27 74 20 70 61 | 72 73 65 20 69 74 0d 0a |don't pa|rse it..|
|00002bd0| 09 09 51 75 65 72 79 52 | 65 6d 61 69 6e 69 6e 67 |..QueryR|emaining|
|00002be0| 20 3d 20 66 61 6c 73 65 | 3b 0d 0a 09 65 6c 73 65 | = false|;...else|
|00002bf0| 0d 0a 09 09 51 75 65 72 | 79 52 65 6d 61 69 6e 69 |....Quer|yRemaini|
|00002c00| 6e 67 20 3d 20 74 72 75 | 65 3b 0d 0a 09 0d 0a 09 |ng = tru|e;......|
|00002c10| 77 68 69 6c 65 20 28 51 | 75 65 72 79 52 65 6d 61 |while (Q|ueryRema|
|00002c20| 69 6e 69 6e 67 29 20 7b | 0d 0a 09 09 51 75 65 72 |ining) {|....Quer|
|00002c30| 79 20 3d 20 50 61 72 73 | 65 51 75 65 72 79 28 41 |y = Pars|eQuery(A|
|00002c40| 64 64 72 2c 20 51 75 65 | 72 79 2c 20 51 75 65 72 |ddr, Que|ry, Quer|
|00002c50| 79 4e 75 6d 2c 20 50 61 | 63 6b 65 74 4e 75 6d 29 |yNum, Pa|cketNum)|
|00002c60| 3b 0d 0a 09 09 69 66 20 | 28 51 75 65 72 79 20 3d |;....if |(Query =|
|00002c70| 3d 20 22 22 29 0d 0a 09 | 09 09 51 75 65 72 79 52 |= "")...|..QueryR|
|00002c80| 65 6d 61 69 6e 69 6e 67 | 20 3d 20 66 61 6c 73 65 |emaining| = false|
|00002c90| 3b 0d 0a 09 09 65 6c 73 | 65 0d 0a 09 09 09 51 75 |;....els|e.....Qu|
|00002ca0| 65 72 79 52 65 6d 61 69 | 6e 69 6e 67 20 3d 20 74 |eryRemai|ning = t|
|00002cb0| 72 75 65 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 66 |rue;...}|..}....f|
|00002cc0| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 50 61 72 |unction |bool Par|
|00002cd0| 73 65 4e 65 78 74 51 75 | 65 72 79 28 20 73 74 72 |seNextQu|ery( str|
|00002ce0| 69 6e 67 20 51 75 65 72 | 79 2c 20 6f 75 74 20 73 |ing Quer|y, out s|
|00002cf0| 74 72 69 6e 67 20 51 75 | 65 72 79 54 79 70 65 2c |tring Qu|eryType,|
|00002d00| 20 6f 75 74 20 73 74 72 | 69 6e 67 20 51 75 65 72 | out str|ing Quer|
|00002d10| 79 56 61 6c 75 65 2c 20 | 6f 75 74 20 73 74 72 69 |yValue, |out stri|
|00002d20| 6e 67 20 51 75 65 72 79 | 52 65 73 74 2c 20 6f 75 |ng Query|Rest, ou|
|00002d30| 74 20 73 74 72 69 6e 67 | 20 46 69 6e 61 6c 50 61 |t string| FinalPa|
|00002d40| 63 6b 65 74 20 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |cket )..|{...loca|
|00002d50| 6c 20 73 74 72 69 6e 67 | 20 54 65 6d 70 51 75 65 |l string| TempQue|
|00002d60| 72 79 3b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |ry;...lo|cal int |
|00002d70| 43 6c 6f 73 69 6e 67 53 | 6c 61 73 68 3b 0d 0a 0d |ClosingS|lash;...|
|00002d80| 0a 09 69 66 20 28 51 75 | 65 72 79 20 3d 3d 20 22 |..if (Qu|ery == "|
|00002d90| 22 29 0d 0a 09 09 72 65 | 74 75 72 6e 20 66 61 6c |")....re|turn fal|
|00002da0| 73 65 3b 0d 0a 0d 0a 09 | 2f 2f 20 51 75 65 72 79 |se;.....|// Query|
|00002db0| 20 73 68 6f 75 6c 64 20 | 62 65 3a 0d 0a 09 2f 2f | should |be:...//|
|00002dc0| 20 20 20 5c 5b 74 79 70 | 65 5d 5c 3c 76 61 6c 75 | \[typ|e]\<valu|
|00002dd0| 65 3e 0d 0a 09 69 66 20 | 28 4c 65 66 74 28 51 75 |e>...if |(Left(Qu|
|00002de0| 65 72 79 2c 20 31 29 20 | 3d 3d 20 22 5c 5c 22 29 |ery, 1) |== "\\")|
|00002df0| 0d 0a 09 7b 0d 0a 09 09 | 2f 2f 20 43 68 65 63 6b |...{....|// Check|
|00002e00| 20 74 6f 20 73 65 65 20 | 69 66 20 63 6c 6f 73 65 | to see |if close|
|00002e10| 64 2e 0d 0a 09 09 43 6c | 6f 73 69 6e 67 53 6c 61 |d.....Cl|osingSla|
|00002e20| 73 68 20 3d 20 49 6e 53 | 74 72 28 52 69 67 68 74 |sh = InS|tr(Right|
|00002e30| 28 51 75 65 72 79 2c 20 | 4c 65 6e 28 51 75 65 72 |(Query, |Len(Quer|
|00002e40| 79 29 2d 31 29 2c 20 22 | 5c 5c 22 29 3b 0d 0a 09 |y)-1), "|\\");...|
|00002e50| 09 69 66 20 28 43 6c 6f | 73 69 6e 67 53 6c 61 73 |.if (Clo|singSlas|
|00002e60| 68 20 3d 3d 20 30 29 0d | 0a 09 09 09 72 65 74 75 |h == 0).|....retu|
|00002e70| 72 6e 20 66 61 6c 73 65 | 3b 0d 0a 0d 0a 09 09 54 |rn false|;......T|
|00002e80| 65 6d 70 51 75 65 72 79 | 20 3d 20 51 75 65 72 79 |empQuery| = Query|
|00002e90| 3b 0d 0a 0d 0a 09 09 2f | 2f 20 51 75 65 72 79 20 |;....../|/ Query |
|00002ea0| 6c 6f 6f 6b 73 20 6c 69 | 6b 65 3a 0d 0a 09 09 2f |looks li|ke:..../|
|00002eb0| 2f 20 20 5c 5b 74 79 70 | 65 5d 5c 0d 0a 09 09 51 |/ \[typ|e]\....Q|
|00002ec0| 75 65 72 79 54 79 70 65 | 20 3d 20 52 69 67 68 74 |ueryType| = Right|
|00002ed0| 28 51 75 65 72 79 2c 20 | 4c 65 6e 28 51 75 65 72 |(Query, |Len(Quer|
|00002ee0| 79 29 2d 31 29 3b 0d 0a | 09 09 51 75 65 72 79 54 |y)-1);..|..QueryT|
|00002ef0| 79 70 65 20 3d 20 4c 65 | 66 74 28 51 75 65 72 79 |ype = Le|ft(Query|
|00002f00| 54 79 70 65 2c 20 43 6c | 6f 73 69 6e 67 53 6c 61 |Type, Cl|osingSla|
|00002f10| 73 68 29 3b 0d 0a 0d 0a | 09 09 51 75 65 72 79 52 |sh);....|..QueryR|
|00002f20| 65 73 74 20 3d 20 52 69 | 67 68 74 28 51 75 65 72 |est = Ri|ght(Quer|
|00002f30| 79 2c 20 4c 65 6e 28 51 | 75 65 72 79 29 20 2d 20 |y, Len(Q|uery) - |
|00002f40| 28 4c 65 6e 28 51 75 65 | 72 79 54 79 70 65 29 20 |(Len(Que|ryType) |
|00002f50| 2b 20 32 29 29 3b 0d 0a | 0d 0a 09 09 69 66 20 28 |+ 2));..|....if (|
|00002f60| 28 51 75 65 72 79 52 65 | 73 74 20 3d 3d 20 22 22 |(QueryRe|st == ""|
|00002f70| 29 20 7c 7c 20 28 4c 65 | 6e 28 51 75 65 72 79 52 |) || (Le|n(QueryR|
|00002f80| 65 73 74 29 20 3d 3d 20 | 31 29 29 0d 0a 09 09 7b |est) == |1))....{|
|00002f90| 0d 0a 09 09 09 46 69 6e | 61 6c 50 61 63 6b 65 74 |.....Fin|alPacket|
|00002fa0| 20 3d 20 22 66 69 6e 61 | 6c 22 3b 0d 0a 09 09 09 | = "fina|l";.....|
|00002fb0| 72 65 74 75 72 6e 20 74 | 72 75 65 3b 0d 0a 09 09 |return t|rue;....|
|00002fc0| 7d 20 65 6c 73 65 20 69 | 66 20 28 4c 65 66 74 28 |} else i|f (Left(|
|00002fd0| 51 75 65 72 79 52 65 73 | 74 2c 20 31 29 20 3d 3d |QueryRes|t, 1) ==|
|00002fe0| 20 22 5c 5c 22 29 0d 0a | 09 09 09 72 65 74 75 72 | "\\")..|...retur|
|00002ff0| 6e 20 74 72 75 65 3b 09 | 2f 2f 20 5c 74 79 70 65 |n true;.|// \type|
|00003000| 5c 5c 0d 0a 0d 0a 09 09 | 2f 2f 20 51 75 65 72 79 |\\......|// Query|
|00003010| 20 6c 6f 6f 6b 73 20 6c | 69 6b 65 3a 0d 0a 09 09 | looks l|ike:....|
|00003020| 2f 2f 20 20 5c 74 79 70 | 65 5c 76 61 6c 75 65 0d |// \typ|e\value.|
|00003030| 0a 09 09 43 6c 6f 73 69 | 6e 67 53 6c 61 73 68 20 |...Closi|ngSlash |
|00003040| 3d 20 49 6e 53 74 72 28 | 51 75 65 72 79 52 65 73 |= InStr(|QueryRes|
|00003050| 74 2c 20 22 5c 5c 22 29 | 3b 0d 0a 09 09 69 66 20 |t, "\\")|;....if |
|00003060| 28 43 6c 6f 73 69 6e 67 | 53 6c 61 73 68 20 3e 3d |(Closing|Slash >=|
|00003070| 20 30 29 0d 0a 09 09 09 | 51 75 65 72 79 56 61 6c | 0).....|QueryVal|
|00003080| 75 65 20 3d 20 4c 65 66 | 74 28 51 75 65 72 79 52 |ue = Lef|t(QueryR|
|00003090| 65 73 74 2c 20 43 6c 6f | 73 69 6e 67 53 6c 61 73 |est, Clo|singSlas|
|000030a0| 68 29 3b 0d 0a 09 09 65 | 6c 73 65 0d 0a 09 09 09 |h);....e|lse.....|
|000030b0| 51 75 65 72 79 56 61 6c | 75 65 20 3d 20 51 75 65 |QueryVal|ue = Que|
|000030c0| 72 79 52 65 73 74 3b 0d | 0a 0d 0a 09 09 51 75 65 |ryRest;.|.....Que|
|000030d0| 72 79 52 65 73 74 20 3d | 20 52 69 67 68 74 28 51 |ryRest =| Right(Q|
|000030e0| 75 65 72 79 2c 20 4c 65 | 6e 28 51 75 65 72 79 29 |uery, Le|n(Query)|
|000030f0| 20 2d 20 28 4c 65 6e 28 | 51 75 65 72 79 54 79 70 | - (Len(|QueryTyp|
|00003100| 65 29 20 2b 20 4c 65 6e | 28 51 75 65 72 79 56 61 |e) + Len|(QueryVa|
|00003110| 6c 75 65 29 20 2b 20 33 | 29 29 3b 0d 0a 09 09 69 |lue) + 3|));....i|
|00003120| 66 20 28 51 75 65 72 79 | 52 65 73 74 20 3d 3d 20 |f (Query|Rest == |
|00003130| 22 22 29 0d 0a 09 09 7b | 0d 0a 09 09 09 46 69 6e |"")....{|.....Fin|
|00003140| 61 6c 50 61 63 6b 65 74 | 20 3d 20 22 66 69 6e 61 |alPacket| = "fina|
|00003150| 6c 22 3b 0d 0a 09 09 09 | 72 65 74 75 72 6e 20 74 |l";.....|return t|
|00003160| 72 75 65 3b 0d 0a 09 09 | 7d 20 65 6c 73 65 0d 0a |rue;....|} else..|
|00003170| 09 09 09 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0d |...retur|n true;.|
|00003180| 0a 09 7d 20 65 6c 73 65 | 20 7b 0d 0a 09 09 72 65 |..} else| {....re|
|00003190| 74 75 72 6e 20 66 61 6c | 73 65 3b 0d 0a 09 7d 0d |turn fal|se;...}.|
|000031a0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 73 |.}....fu|nction s|
|000031b0| 74 72 69 6e 67 20 50 61 | 72 73 65 51 75 65 72 79 |tring Pa|rseQuery|
|000031c0| 28 20 49 70 41 64 64 72 | 20 41 64 64 72 2c 20 63 |( IpAddr| Addr, c|
|000031d0| 6f 65 72 63 65 20 73 74 | 72 69 6e 67 20 51 75 65 |oerce st|ring Que|
|000031e0| 72 79 53 74 72 2c 20 69 | 6e 74 20 51 75 65 72 79 |ryStr, i|nt Query|
|000031f0| 4e 75 6d 2c 20 6f 75 74 | 20 69 6e 74 20 50 61 63 |Num, out| int Pac|
|00003200| 6b 65 74 4e 75 6d 20 29 | 0d 0a 7b 0d 0a 09 6c 6f |ketNum )|..{...lo|
|00003210| 63 61 6c 20 73 74 72 69 | 6e 67 20 51 75 65 72 79 |cal stri|ng Query|
|00003220| 54 79 70 65 2c 20 51 75 | 65 72 79 56 61 6c 75 65 |Type, Qu|eryValue|
|00003230| 2c 20 51 75 65 72 79 52 | 65 73 74 2c 20 56 61 6c |, QueryR|est, Val|
|00003240| 69 64 61 74 69 6f 6e 53 | 74 72 69 6e 67 3b 0d 0a |idationS|tring;..|
|00003250| 09 6c 6f 63 61 6c 20 62 | 6f 6f 6c 20 52 65 73 75 |.local b|ool Resu|
|00003260| 6c 74 3b 0d 0a 09 6c 6f | 63 61 6c 20 73 74 72 69 |lt;...lo|cal stri|
|00003270| 6e 67 20 46 69 6e 61 6c | 50 61 63 6b 65 74 3b 0d |ng Final|Packet;.|
|00003280| 0a 09 0d 0a 09 52 65 73 | 75 6c 74 20 3d 20 50 61 |.....Res|ult = Pa|
|00003290| 72 73 65 4e 65 78 74 51 | 75 65 72 79 28 51 75 65 |rseNextQ|uery(Que|
|000032a0| 72 79 53 74 72 2c 20 51 | 75 65 72 79 54 79 70 65 |ryStr, Q|ueryType|
|000032b0| 2c 20 51 75 65 72 79 56 | 61 6c 75 65 2c 20 51 75 |, QueryV|alue, Qu|
|000032c0| 65 72 79 52 65 73 74 2c | 20 46 69 6e 61 6c 50 61 |eryRest,| FinalPa|
|000032d0| 63 6b 65 74 29 3b 0d 0a | 09 69 66 28 20 21 52 65 |cket);..|.if( !Re|
|000032e0| 73 75 6c 74 20 29 0d 0a | 09 09 72 65 74 75 72 6e |sult )..|..return|
|000032f0| 20 22 22 3b 0d 0a 0d 0a | 09 69 66 28 20 51 75 65 | "";....|.if( Que|
|00003300| 72 79 54 79 70 65 3d 3d | 22 62 61 73 69 63 22 20 |ryType==|"basic" |
|00003310| 29 0d 0a 09 7b 0d 0a 09 | 09 2f 2f 20 49 67 6e 6f |)...{...|.// Igno|
|00003320| 72 65 2e 0d 0a 09 09 52 | 65 73 75 6c 74 20 3d 20 |re.....R|esult = |
|00003330| 74 72 75 65 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |true;...|}...else|
|00003340| 20 69 66 28 20 51 75 65 | 72 79 54 79 70 65 3d 3d | if( Que|ryType==|
|00003350| 22 73 65 63 75 72 65 22 | 20 29 0d 0a 09 7b 0d 0a |"secure"| )...{..|
|00003360| 09 09 56 61 6c 69 64 61 | 74 69 6f 6e 53 74 72 69 |..Valida|tionStri|
|00003370| 6e 67 20 3d 20 22 5c 5c | 76 61 6c 69 64 61 74 65 |ng = "\\|validate|
|00003380| 5c 5c 22 24 56 61 6c 69 | 64 61 74 65 28 51 75 65 |\\"$Vali|date(Que|
|00003390| 72 79 56 61 6c 75 65 2c | 20 51 75 65 72 79 2e 47 |ryValue,| Query.G|
|000033a0| 61 6d 65 4e 61 6d 65 29 | 3b 0d 0a 09 09 52 65 73 |ameName)|;....Res|
|000033b0| 75 6c 74 20 3d 20 53 65 | 6e 64 51 75 65 72 79 50 |ult = Se|ndQueryP|
|000033c0| 61 63 6b 65 74 28 41 64 | 64 72 2c 20 56 61 6c 69 |acket(Ad|dr, Vali|
|000033d0| 64 61 74 69 6f 6e 53 74 | 72 69 6e 67 2c 20 51 75 |dationSt|ring, Qu|
|000033e0| 65 72 79 4e 75 6d 2c 20 | 2b 2b 50 61 63 6b 65 74 |eryNum, |++Packet|
|000033f0| 4e 75 6d 2c 20 46 69 6e | 61 6c 50 61 63 6b 65 74 |Num, Fin|alPacket|
|00003400| 29 3b 0d 0a 09 7d 0d 0a | 09 65 6c 73 65 0d 0a 09 |);...}..|.else...|
|00003410| 7b 0d 0a 09 09 4c 6f 67 | 28 22 55 64 70 53 65 72 |{....Log|("UdpSer|
|00003420| 76 65 72 51 75 65 72 79 | 3a 20 55 6e 6b 6e 6f 77 |verQuery|: Unknow|
|00003430| 6e 20 71 75 65 72 79 3a | 20 22 24 51 75 65 72 79 |n query:| "$Query|
|00003440| 54 79 70 65 29 3b 0d 0a | 09 7d 0d 0a 09 69 66 28 |Type);..|.}...if(|
|00003450| 20 21 52 65 73 75 6c 74 | 20 29 0d 0a 09 09 4c 6f | !Result| )....Lo|
|00003460| 67 28 22 55 64 70 53 65 | 72 76 65 72 51 75 65 72 |g("UdpSe|rverQuer|
|00003470| 79 3a 20 45 72 72 6f 72 | 20 72 65 73 70 6f 6e 64 |y: Error| respond|
|00003480| 69 6e 67 20 74 6f 20 71 | 75 65 72 79 2e 22 29 3b |ing to q|uery.");|
|00003490| 0d 0a 09 72 65 74 75 72 | 6e 20 51 75 65 72 79 52 |...retur|n QueryR|
|000034a0| 65 73 74 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 53 65 |est;..}.|...// Se|
|000034b0| 6e 64 51 75 65 72 79 50 | 61 63 6b 65 74 20 69 73 |ndQueryP|acket is|
|000034c0| 20 61 20 77 72 61 70 70 | 65 72 20 66 6f 72 20 53 | a wrapp|er for S|
|000034d0| 65 6e 64 54 65 78 74 20 | 74 68 61 74 20 61 6c 6c |endText |that all|
|000034e0| 6f 77 73 20 66 6f 72 20 | 70 61 63 6b 65 74 20 6e |ows for |packet n|
|000034f0| 75 6d 62 65 72 69 6e 67 | 2e 0d 0a 66 75 6e 63 74 |umbering|...funct|
|00003500| 69 6f 6e 20 62 6f 6f 6c | 20 53 65 6e 64 51 75 65 |ion bool| SendQue|
|00003510| 72 79 50 61 63 6b 65 74 | 28 49 70 41 64 64 72 20 |ryPacket|(IpAddr |
|00003520| 41 64 64 72 2c 20 63 6f | 65 72 63 65 20 73 74 72 |Addr, co|erce str|
|00003530| 69 6e 67 20 53 65 6e 64 | 53 74 72 69 6e 67 2c 20 |ing Send|String, |
|00003540| 69 6e 74 20 51 75 65 72 | 79 4e 75 6d 2c 20 69 6e |int Quer|yNum, in|
|00003550| 74 20 50 61 63 6b 65 74 | 4e 75 6d 2c 20 73 74 72 |t Packet|Num, str|
|00003560| 69 6e 67 20 46 69 6e 61 | 6c 50 61 63 6b 65 74 29 |ing Fina|lPacket)|
|00003570| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 62 6f 6f 6c |..{...lo|cal bool|
|00003580| 20 52 65 73 75 6c 74 3b | 0d 0a 09 69 66 20 28 46 | Result;|...if (F|
|00003590| 69 6e 61 6c 50 61 63 6b | 65 74 20 3d 3d 20 22 66 |inalPack|et == "f|
|000035a0| 69 6e 61 6c 22 29 20 7b | 0d 0a 09 09 53 65 6e 64 |inal") {|....Send|
|000035b0| 53 74 72 69 6e 67 20 3d | 20 53 65 6e 64 53 74 72 |String =| SendStr|
|000035c0| 69 6e 67 24 22 5c 5c 66 | 69 6e 61 6c 5c 5c 22 3b |ing$"\\f|inal\\";|
|000035d0| 0d 0a 09 7d 0d 0a 09 53 | 65 6e 64 53 74 72 69 6e |...}...S|endStrin|
|000035e0| 67 20 3d 20 53 65 6e 64 | 53 74 72 69 6e 67 24 22 |g = Send|String$"|
|000035f0| 5c 5c 71 75 65 72 79 69 | 64 5c 5c 22 24 51 75 65 |\\queryi|d\\"$Que|
|00003600| 72 79 4e 75 6d 24 22 2e | 22 24 50 61 63 6b 65 74 |ryNum$".|"$Packet|
|00003610| 4e 75 6d 3b 0d 0a 0d 0a | 09 52 65 73 75 6c 74 20 |Num;....|.Result |
|00003620| 3d 20 53 65 6e 64 54 65 | 78 74 28 41 64 64 72 2c |= SendTe|xt(Addr,|
|00003630| 20 53 65 6e 64 53 74 72 | 69 6e 67 29 3b 0d 0a 0d | SendStr|ing);...|
|00003640| 0a 09 72 65 74 75 72 6e | 20 52 65 73 75 6c 74 3b |..return| Result;|
|00003650| 0d 0a 7d 0d 0a 0d 0a 00 | 00 00 73 01 00 64 01 05 |..}.....|..s..d..|
|00003660| da 00 00 00 8b 16 00 00 | 25 01 00 00 14 2d 00 20 |........|%....-. |
|00003670| 1b 04 00 57 01 00 27 00 | 31 00 30 00 32 16 07 34 |...W..'.|1.0.2..4|
|00003680| 00 81 2d 00 20 16 04 1f | 00 07 50 00 7a 00 27 1f |..-. ...|..P.z.'.|
|00003690| 62 61 73 69 63 00 16 14 | 2d 00 20 27 06 e4 00 07 |basic...|-. '....|
|000036a0| ba 00 7a 00 27 1f 73 65 | 63 75 72 65 00 16 0f 00 |..z.'.se|cure....|
|000036b0| 2e 70 1f 5c 76 61 6c 69 | 64 61 74 65 5c 00 1b 0e |.p.\vali|date\...|
|000036c0| 00 31 19 01 10 05 00 00 | 01 22 16 16 14 2d 00 20 |.1......|."...-. |
|000036d0| 1b 01 00 64 01 00 2e 00 | 56 01 a3 00 5a 01 16 00 |...d....|V...Z...|
|000036e0| 32 16 06 e4 00 e7 70 1f | 55 64 70 53 65 72 76 65 |2.....p.|UdpServe|
|000036f0| 72 51 75 65 72 79 3a 20 | 55 6e 6b 6e 6f 77 6e 20 |rQuery: |Unknown |
|00003700| 71 75 65 72 79 3a 20 00 | 00 27 16 16 07 1d 01 81 |query: .|.'......|
|00003710| 2d 00 20 16 e7 1f 55 64 | 70 53 65 72 76 65 72 51 |-. ...Ud|pServerQ|
|00003720| 75 65 72 79 3a 20 45 72 | 72 6f 72 20 72 65 73 70 |uery: Er|ror resp|
|00003730| 6f 6e 64 69 6e 67 20 74 | 6f 20 71 75 65 72 79 2e |onding t|o query.|
|00003740| 00 16 04 00 30 04 0b 00 | 00 00 02 00 00 00 00 a2 |....0...|........|
|00003750| 7f 01 00 61 01 1a 8b 00 | 00 00 1f 0f 00 00 9c 00 |...a....|........|
|00003760| 00 00 a5 01 26 16 07 1a | 00 97 01 26 2c 64 16 0f |....&...|...&,d..|
|00003770| 01 26 26 0f 00 37 01 26 | 0f 00 1b 00 63 01 07 47 |.&&..7.&|....c..G|
|00003780| 00 7a 00 1b 1f 00 16 14 | 2d 00 1f 28 06 4f 00 14 |.z......|-..(.O..|
|00003790| 2d 00 1f 27 07 9a 00 2d | 00 1f 0f 00 1b 1b 05 00 |-..'...-|........|
|000037a0| 61 01 00 1b 00 37 00 5f | 01 16 07 8f 00 7a 00 1b |a....7._|.....z..|
|000037b0| 1f 00 16 14 2d 00 1f 28 | 06 97 00 14 2d 00 1f 27 |....-..(|....-..'|
|000037c0| 06 4f 00 04 0b 00 00 00 | 02 08 00 00 00 00 67 01 |.O......|......g.|
|000037d0| 00 00 2a 79 00 00 00 c2 | 0d 00 00 0b 00 00 00 61 |..*y....|.......a|
|000037e0| 18 1e 00 00 00 00 28 16 | 04 0b 00 00 00 02 00 00 |......(.|........|
|000037f0| 00 00 00 7e 01 00 00 0d | 7f 00 00 00 0c 0e 00 00 |...~....|........|
|00003800| 16 00 00 00 61 18 3f 90 | 01 59 01 2c 3c 16 27 16 |....a.?.|.Y.,<.'.|
|00003810| 1b 10 16 04 0b 00 00 00 | 02 00 00 00 00 00 29 01 |........|......).|
|00003820| 00 00 00 80 05 40 00 00 | 00 00 27 01 00 00 00 80 |.....@..|..'.....|
|00003830| 05 40 00 00 00 00 6a 01 | 00 04 05 8b 00 00 00 b2 |.@....j.|........|
|00003840| 0d 00 00 47 04 00 00 14 | 2d 00 03 1b 04 00 50 01 |...G....|-.....P.|
|00003850| 00 08 00 15 00 3b 00 07 | 16 07 34 00 81 2d 00 03 |.....;..|..4..-..|
|00003860| 16 04 1f 00 07 71 00 7a | 00 08 1f 62 61 73 69 63 |.....q.z|...basic|
|00003870| 00 16 14 2d 00 03 1b 01 | 00 04 1b 08 16 00 06 a3 |...-....|........|
|00003880| 00 05 16 00 07 16 06 06 | 04 07 ad 00 7a 00 08 1f |........|....z...|
|00003890| 69 6e 66 6f 00 16 14 2d | 00 03 1b 01 00 04 1b 06 |info...-|........|
|000038a0| 16 00 06 a3 00 05 16 00 | 07 16 06 06 04 07 ea 00 |........|........|
|000038b0| 7a 00 08 1f 72 75 6c 65 | 73 00 16 14 2d 00 03 1b |z...rule|s...-...|
|000038c0| 01 00 04 1b 03 16 00 06 | a3 00 05 16 00 07 16 06 |........|........|
|000038d0| 06 04 07 64 01 7a 00 08 | 1f 70 6c 61 79 65 72 73 |...d.z..|.players|
|000038e0| 00 16 07 3e 01 97 19 19 | 01 88 05 00 04 01 8c 05 |...>....|........|
|000038f0| 00 04 01 98 25 16 14 2d | 00 03 1b 09 00 04 00 06 |....%..-|........|
|00003900| 00 05 00 07 16 06 61 01 | 14 2d 00 03 1b 01 00 04 |......a.|.-......|
|00003910| 1f 00 00 06 00 05 00 07 | 16 06 06 04 07 55 02 7a |........|.....U.z|
|00003920| 00 08 1f 73 74 61 74 75 | 73 00 16 14 2d 00 03 1b |...statu|s...-...|
|00003930| 01 00 04 1b 08 16 00 06 | a3 00 05 16 1f 00 16 14 |........|........|
|00003940| 2d 00 03 1b 01 00 04 1b | 06 16 00 06 a3 00 05 16 |-.......|........|
|00003950| 1f 00 16 07 0b 02 9a 19 | 19 01 88 05 00 04 01 8c |........|........|
|00003960| 05 00 04 01 98 25 16 14 | 2d 00 03 1b 01 00 04 1b |.....%..|-.......|
|00003970| 03 16 00 06 a3 00 05 16 | 00 07 16 06 52 02 14 2d |........|....R..-|
|00003980| 00 03 1b 01 00 04 1b 03 | 16 00 06 a3 00 05 16 1f |........|........|
|00003990| 00 16 14 2d 00 03 1b 09 | 00 04 00 06 00 05 00 07 |...-....|........|
|000039a0| 16 06 06 04 07 9a 02 7a | 00 08 1f 65 63 68 6f 00 |.......z|...echo.|
|000039b0| 16 14 2d 00 03 1b 01 00 | 04 70 1f 5c 65 63 68 6f |..-.....|.p.\echo|
|000039c0| 5c 00 00 15 16 00 06 a3 | 00 05 16 00 07 16 06 06 |\.......|........|
|000039d0| 04 07 fb 02 7a 00 08 1f | 73 65 63 75 72 65 00 16 |....z...|secure..|
|000039e0| 0f 00 47 01 70 1f 5c 76 | 61 6c 69 64 61 74 65 5c |..G.p.\v|alidate\|
|000039f0| 00 1b 0e 00 15 01 22 16 | 16 14 2d 00 03 1b 01 00 |......".|..-.....|
|00003a00| 04 00 47 01 00 06 a3 00 | 05 16 00 07 16 06 06 04 |..G.....|........|
|00003a10| 07 46 03 7a 00 08 1f 6c | 65 76 65 6c 5f 70 72 6f |.F.z...l|evel_pro|
|00003a20| 70 65 72 74 79 00 16 14 | 2d 00 03 1b 01 00 04 1b |perty...|-.......|
|00003a30| 11 00 15 16 00 06 a3 00 | 05 16 00 07 16 06 06 04 |........|........|
|00003a40| 07 90 03 7a 00 08 1f 67 | 61 6d 65 5f 70 72 6f 70 |...z...g|ame_prop|
|00003a50| 65 72 74 79 00 16 14 2d | 00 03 1b 01 00 04 1b 16 |erty...-|........|
|00003a60| 00 15 16 00 06 a3 00 05 | 16 00 07 16 06 06 04 07 |........|........|
|00003a70| dc 03 7a 00 08 1f 70 6c | 61 79 65 72 5f 70 72 6f |..z...pl|ayer_pro|
|00003a80| 70 65 72 74 79 00 16 14 | 2d 00 03 1b 01 00 04 1b |perty...|-.......|
|00003a90| 13 00 15 16 00 06 a3 00 | 05 16 00 07 16 06 06 04 |........|........|
|00003aa0| e7 70 1f 55 64 70 53 65 | 72 76 65 72 51 75 65 72 |.p.UdpSe|rverQuer|
|00003ab0| 79 3a 20 55 6e 6b 6e 6f | 77 6e 20 71 75 65 72 79 |y: Unkno|wn query|
|00003ac0| 3a 20 00 00 08 16 16 07 | 3f 04 81 2d 00 03 16 e7 |: ......|?..-....|
|00003ad0| 1f 55 64 70 53 65 72 76 | 65 72 51 75 65 72 79 3a |.UdpServ|erQuery:|
|00003ae0| 20 45 72 72 6f 72 20 72 | 65 73 70 6f 6e 64 69 6e | Error r|espondin|
|00003af0| 67 20 74 6f 20 71 75 65 | 72 79 2e 00 16 04 00 3b |g to que|ry.....;|
|00003b00| 04 0b 00 00 00 02 00 00 | 00 00 00 0f 01 00 00 00 |........|........|
|00003b10| 80 05 40 00 00 00 00 47 | 02 00 43 02 08 e2 00 00 |..@....G|..C.....|
|00003b20| 00 57 18 00 00 af 00 00 | 00 0f 00 0f 70 1f 5c 67 |.W......|....p.\g|
|00003b30| 61 6d 65 6e 61 6d 65 5c | 00 01 22 16 0f 00 0f 70 |amename\|.."....p|
|00003b40| 70 00 0f 1f 5c 67 61 6d | 65 76 65 72 5c 00 16 19 |p...\gam|ever\...|
|00003b50| 01 88 05 00 00 01 a7 16 | 0f 00 0f 70 70 00 0f 1f |........|...pp...|
|00003b60| 5c 6d 69 6e 6e 65 74 76 | 65 72 5c 00 16 19 01 88 |\minnetv|er\.....|
|00003b70| 05 00 00 01 a8 16 0f 00 | 0f 70 70 00 0f 1f 5c 6c |........|.pp...\l|
|00003b80| 6f 63 61 74 69 6f 6e 5c | 00 16 53 19 19 19 01 88 |ocation\|..S.....|
|00003b90| 05 00 04 01 8c 05 00 04 | 01 95 05 00 04 01 ac 16 |........|........|
|00003ba0| 04 00 0f 04 0b 00 00 00 | 02 00 00 00 00 00 2f 01 |........|....../.|
|00003bb0| 00 00 00 80 05 00 00 00 | 93 00 7b 01 48 02 02 ff |........|..{.H...|
|00003bc0| ff ff ff ff ff ff ff 00 | 00 00 00 00 01 00 00 00 |........|........|
|00003bd0| 00 00 00 ff ff ff ff ff | ff ff ff ff ff 00 00 00 |........|........|
|00003be0| 00 1e 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 07 46 02 | 01 00 00 00 06 fa 10 9a |......F.|........|
|00003c00| 93 01 00 00 00 36 16 1f | 85 12 00 00 00 00 7b b4 |.....6..|......{.|
|00003c10| fb 66 12 00 00 00 00 7b | b4 fb 66 84 00 00 00 00 |.f.....{|..f.....|
|00003c20| 5f 17 19 0c 12 00 00 00 | 00 7b b4 fb 66 12 00 00 |_.......|.{..f...|
|00003c30| 00 00 7b b4 fb 66 04 19 | 1c 0b 0c 94 15 29 22 01 |..{..f..|.....)".|
|00003c40| 00 00 00 24 22 fc 6c 00 | 00 1e 06 12 14 01 00 00 |...$".l.|........|
|00003c50| 00 00 42 02 00 4b 01 01 | d3 00 00 00 0a 17 00 00 |..B..K..|........|
|00003c60| 74 00 00 00 07 27 00 7a | 00 4a 01 1f 66 69 6e 61 |t....'.z|.J..fina|
|00003c70| 6c 00 16 0f 00 1e 70 00 | 1e 1f 5c 66 69 6e 61 6c |l.....p.|..\final|
|00003c80| 5c 00 16 0f 00 1e 70 70 | 70 70 00 1e 1f 5c 71 75 |\.....pp|pp...\qu|
|00003c90| 65 72 79 69 64 5c 00 16 | 53 00 49 01 16 1f 2e 00 |eryid\..|S.I.....|
|00003ca0| 16 53 00 4d 01 16 14 2d | 00 2f 1b 0a 00 4b 01 00 |.S.M...-|./...K..|
|00003cb0| 1e 16 04 2d 00 2f 04 0b | 00 00 00 02 00 00 00 00 |...-./..|........|
|00003cc0| 00 7c 01 00 60 01 01 f5 | 00 00 00 91 19 00 00 74 |.|..`...|.......t|
|00003cd0| 00 00 00 07 27 00 7a 00 | 55 01 1f 66 69 6e 61 6c |....'.z.|U..final|
|00003ce0| 00 16 0f 00 21 70 00 21 | 1f 5c 66 69 6e 61 6c 5c |....!p.!|.\final\|
|00003cf0| 00 16 0f 00 21 70 70 70 | 70 00 21 1f 5c 71 75 65 |....!ppp|p.!.\que|
|00003d00| 72 79 69 64 5c 00 16 53 | 00 54 01 16 1f 2e 00 16 |ryid\..S|.T......|
|00003d10| 53 00 53 01 16 14 2d 00 | 34 1b 0a 00 60 01 00 21 |S.S...-.|4...`..!|
|00003d20| 16 04 2d 00 34 04 0b 00 | 00 00 02 00 00 00 00 00 |..-.4...|........|
|00003d30| 43 01 01 00 00 00 80 05 | 40 00 00 00 00 00 00 00 |C.......|@.......|
|00003d40| 00 00 00 00 42 ac 01 2f | 2f 3d 3d 3d 3d 3d 3d 3d |....B../|/=======|
|00003d50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d90| 3d 3d 3d 3d 3d 3d 0d 0a | 2f 2f 20 55 64 70 53 65 |======..|// UdpSe|
|00003da0| 72 76 65 72 51 75 65 72 | 79 0d 0a 2f 2f 0d 0a 2f |rverQuer|y..//../|
|00003db0| 2f 20 56 65 72 73 69 6f | 6e 3a 20 31 2e 35 0d 0a |/ Versio|n: 1.5..|
|00003dc0| 2f 2f 0d 0a 2f 2f 20 54 | 68 69 73 20 71 75 65 72 |//..// T|his quer|
|00003dd0| 79 20 73 65 72 76 65 72 | 20 69 73 20 63 6f 6d 70 |y server| is comp|
|00003de0| 6c 69 61 6e 74 20 77 69 | 74 68 20 74 68 65 20 47 |liant wi|th the G|
|00003df0| 61 6d 65 53 70 79 20 55 | 70 6c 69 6e 6b 20 53 70 |ameSpy U|plink Sp|
|00003e00| 65 63 69 66 69 63 61 74 | 69 6f 6e 2e 0d 0a 2f 2f |ecificat|ion...//|
|00003e10| 20 54 68 65 20 73 70 65 | 63 69 66 69 63 61 74 69 | The spe|cificati|
|00003e20| 6f 6e 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |on is av|ailable |
|00003e30| 61 74 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 67 61 |at http:|//www.ga|
|00003e40| 6d 65 73 70 79 2e 63 6f | 6d 2f 64 65 76 65 6c 6f |mespy.co|m/develo|
|00003e50| 70 65 72 0d 0a 2f 2f 20 | 61 6e 64 20 6d 69 67 68 |per..// |and migh|
|00003e60| 74 20 62 65 20 6f 66 20 | 75 73 65 20 74 6f 20 70 |t be of |use to p|
|00003e70| 72 6f 67 61 6d 6d 65 72 | 73 20 77 68 6f 20 61 72 |rogammer|s who ar|
|00003e80| 65 20 77 72 69 74 69 6e | 67 20 6f 72 20 6d 61 69 |e writin|g or mai|
|00003e90| 6e 74 61 69 6e 69 6e 67 | 0d 0a 2f 2f 20 74 68 65 |ntaining|..// the|
|00003ea0| 69 72 20 6f 77 6e 20 73 | 74 61 74 20 67 61 74 68 |ir own s|tat gath|
|00003eb0| 65 72 69 6e 67 2f 67 61 | 6d 65 20 71 75 65 72 79 |ering/ga|me query|
|00003ec0| 69 6e 67 20 73 6f 66 74 | 77 61 72 65 2e 0d 0a 2f |ing soft|ware.../|
|00003ed0| 2f 0d 0a 2f 2f 20 4e 6f | 74 65 3a 20 43 75 72 72 |/..// No|te: Curr|
|00003ee0| 65 6e 74 6c 79 2c 20 53 | 65 6e 64 54 65 78 74 20 |ently, S|endText |
|00003ef0| 72 65 74 75 72 6e 73 20 | 66 61 6c 73 65 20 69 66 |returns |false if|
|00003f00| 20 73 75 63 63 65 73 73 | 66 75 6c 2e 0d 0a 2f 2f | success|ful...//|
|00003f10| 0d 0a 2f 2f 20 46 75 6c | 6c 20 64 6f 63 75 6d 65 |..// Ful|l docume|
|00003f20| 6e 74 61 74 69 6f 6e 20 | 6f 6e 20 74 68 69 73 20 |ntation |on this |
|00003f30| 63 6c 61 73 73 20 69 73 | 20 61 76 61 69 6c 61 62 |class is| availab|
|00003f40| 6c 65 20 61 74 20 68 74 | 74 70 3a 2f 2f 75 6e 72 |le at ht|tp://unr|
|00003f50| 65 61 6c 2e 65 70 69 63 | 67 61 6d 65 73 2e 63 6f |eal.epic|games.co|
|00003f60| 6d 2f 0d 0a 2f 2f 0d 0a | 2f 2f 3d 3d 3d 3d 3d 3d |m/..//..|//======|
|00003f70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003f80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003f90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003fa0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003fb0| 3d 3d 3d 3d 3d 3d 3d 0d | 0a 63 6c 61 73 73 20 55 |=======.|.class U|
|00003fc0| 64 70 53 65 72 76 65 72 | 51 75 65 72 79 20 65 78 |dpServer|Query ex|
|00003fd0| 74 65 6e 64 73 20 55 64 | 70 4c 69 6e 6b 20 63 6f |tends Ud|pLink co|
|00003fe0| 6e 66 69 67 3b 0d 0a 0d | 0a 2f 2f 20 47 61 6d 65 |nfig;...|.// Game|
|00003ff0| 20 53 65 72 76 65 72 20 | 43 6f 6e 66 69 67 2e 0d | Server |Config..|
|00004000| 0a 76 61 72 28 29 20 6e | 61 6d 65 09 09 09 09 09 |.var() n|ame.....|
|00004010| 51 75 65 72 79 4e 61 6d | 65 3b 09 09 09 2f 2f 20 |QueryNam|e;...// |
|00004020| 4e 61 6d 65 20 74 6f 20 | 73 65 74 20 74 68 69 73 |Name to |set this|
|00004030| 20 6f 62 6a 65 63 74 27 | 73 20 54 61 67 20 74 6f | object'|s Tag to|
|00004040| 2e 0d 0a 76 61 72 20 69 | 6e 74 09 09 09 09 09 20 |...var i|nt..... |
|00004050| 20 20 20 43 75 72 72 65 | 6e 74 51 75 65 72 79 4e | Curre|ntQueryN|
|00004060| 75 6d 3b 09 2f 2f 20 51 | 75 65 72 79 20 49 44 20 |um;.// Q|uery ID |
|00004070| 4e 75 6d 62 65 72 2e 0d | 0a 76 61 72 20 67 6c 6f |Number..|.var glo|
|00004080| 62 61 6c 63 6f 6e 66 69 | 67 20 73 74 72 69 6e 67 |balconfi|g string|
|00004090| 09 09 47 61 6d 65 4e 61 | 6d 65 3b 0d 0a 0d 0a 2f |..GameNa|me;..../|
|000040a0| 2f 20 49 6e 69 74 69 61 | 6c 69 7a 65 2e 0d 0a 66 |/ Initia|lize...f|
|000040b0| 75 6e 63 74 69 6f 6e 20 | 50 72 65 42 65 67 69 6e |unction |PreBegin|
|000040c0| 50 6c 61 79 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |Play()..|{...loca|
|000040d0| 6c 20 69 6e 74 20 62 6f | 75 6e 64 70 6f 72 74 3b |l int bo|undport;|
|000040e0| 0d 0a 0d 0a 09 2f 2f 20 | 53 65 74 20 74 68 65 20 |.....// |Set the |
|000040f0| 54 61 67 0d 0a 09 54 61 | 67 20 3d 20 51 75 65 72 |Tag...Ta|g = Quer|
|00004100| 79 4e 61 6d 65 3b 0d 0a | 0d 0a 09 2f 2f 20 42 69 |yName;..|...// Bi|
|00004110| 6e 64 20 74 68 65 20 6c | 69 73 74 65 6e 20 73 6f |nd the l|isten so|
|00004120| 63 6b 65 74 0d 0a 09 62 | 6f 75 6e 64 70 6f 72 74 |cket...b|oundport|
|00004130| 20 3d 20 42 69 6e 64 50 | 6f 72 74 28 4c 65 76 65 | = BindP|ort(Leve|
|00004140| 6c 2e 47 61 6d 65 2e 47 | 65 74 53 65 72 76 65 72 |l.Game.G|etServer|
|00004150| 50 6f 72 74 28 29 2c 20 | 74 72 75 65 29 3b 0d 0a |Port(), |true);..|
|00004160| 09 69 66 28 20 62 6f 75 | 6e 64 70 6f 72 74 20 3d |.if( bou|ndport =|
|00004170| 3d 20 30 20 29 0d 0a 09 | 7b 0d 0a 09 09 4c 6f 67 |= 0 )...|{....Log|
|00004180| 28 22 55 64 70 53 65 72 | 76 65 72 51 75 65 72 79 |("UdpSer|verQuery|
|00004190| 3a 20 50 6f 72 74 20 66 | 61 69 6c 65 64 20 74 6f |: Port f|ailed to|
|000041a0| 20 62 69 6e 64 2e 22 29 | 3b 0d 0a 09 09 72 65 74 | bind.")|;....ret|
|000041b0| 75 72 6e 3b 0d 0a 09 7d | 0d 0a 09 4c 6f 67 28 22 |urn;...}|...Log("|
|000041c0| 55 64 70 53 65 72 76 65 | 72 51 75 65 72 79 3a 20 |UdpServe|rQuery: |
|000041d0| 50 6f 72 74 20 22 24 62 | 6f 75 6e 64 70 6f 72 74 |Port "$b|oundport|
|000041e0| 24 22 20 73 75 63 63 65 | 73 73 66 75 6c 6c 79 20 |$" succe|ssfully |
|000041f0| 62 6f 75 6e 64 2e 22 29 | 3b 0d 0a 7d 0d 0a 0d 0a |bound.")|;..}....|
|00004200| 66 75 6e 63 74 69 6f 6e | 20 50 6f 73 74 42 65 67 |function| PostBeg|
|00004210| 69 6e 50 6c 61 79 28 29 | 0d 0a 7b 0d 0a 09 6c 6f |inPlay()|..{...lo|
|00004220| 63 61 6c 20 55 64 70 42 | 65 61 63 6f 6e 09 42 65 |cal UdpB|eacon.Be|
|00004230| 61 63 6f 6e 3b 0d 0a 0d | 0a 09 66 6f 72 65 61 63 |acon;...|..foreac|
|00004240| 68 20 41 6c 6c 41 63 74 | 6f 72 73 28 63 6c 61 73 |h AllAct|ors(clas|
|00004250| 73 27 55 64 70 42 65 61 | 63 6f 6e 27 2c 20 42 65 |s'UdpBea|con', Be|
|00004260| 61 63 6f 6e 29 0d 0a 09 | 7b 0d 0a 09 09 42 65 61 |acon)...|{....Bea|
|00004270| 63 6f 6e 2e 55 64 70 53 | 65 72 76 65 72 51 75 65 |con.UdpS|erverQue|
|00004280| 72 79 50 6f 72 74 20 3d | 20 50 6f 72 74 3b 0d 0a |ryPort =| Port;..|
|00004290| 09 7d 0d 0a 09 53 75 70 | 65 72 2e 50 6f 73 74 42 |.}...Sup|er.PostB|
|000042a0| 65 67 69 6e 50 6c 61 79 | 28 29 3b 0d 0a 7d 0d 0a |eginPlay|();..}..|
|000042b0| 0d 0a 2f 2f 20 52 65 63 | 65 69 76 65 64 20 61 20 |..// Rec|eived a |
|000042c0| 71 75 65 72 79 20 72 65 | 71 75 65 73 74 2e 0d 0a |query re|quest...|
|000042d0| 65 76 65 6e 74 20 52 65 | 63 65 69 76 65 64 54 65 |event Re|ceivedTe|
|000042e0| 78 74 28 20 49 70 41 64 | 64 72 20 41 64 64 72 2c |xt( IpAd|dr Addr,|
|000042f0| 20 73 74 72 69 6e 67 20 | 54 65 78 74 20 29 0d 0a | string |Text )..|
|00004300| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 73 74 72 69 6e 67 |{...loca|l string|
|00004310| 20 51 75 65 72 79 3b 0d | 0a 09 6c 6f 63 61 6c 20 | Query;.|..local |
|00004320| 62 6f 6f 6c 20 51 75 65 | 72 79 52 65 6d 61 69 6e |bool Que|ryRemain|
|00004330| 69 6e 67 3b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |ing;...l|ocal int|
|00004340| 20 20 51 75 65 72 79 4e | 75 6d 2c 20 50 61 63 6b | QueryN|um, Pack|
|00004350| 65 74 4e 75 6d 3b 0d 0a | 0d 0a 09 2f 2f 20 41 73 |etNum;..|...// As|
|00004360| 73 69 67 6e 20 74 68 69 | 73 20 70 61 63 6b 65 74 |sign thi|s packet|
|00004370| 20 61 20 75 6e 69 71 75 | 65 20 76 61 6c 75 65 20 | a uniqu|e value |
|00004380| 66 72 6f 6d 20 31 20 74 | 6f 20 31 30 30 0d 0a 09 |from 1 t|o 100...|
|00004390| 43 75 72 72 65 6e 74 51 | 75 65 72 79 4e 75 6d 2b |CurrentQ|ueryNum+|
|000043a0| 2b 3b 0d 0a 09 69 66 20 | 28 43 75 72 72 65 6e 74 |+;...if |(Current|
|000043b0| 51 75 65 72 79 4e 75 6d | 20 3e 20 31 30 30 29 0d |QueryNum| > 100).|
|000043c0| 0a 09 09 43 75 72 72 65 | 6e 74 51 75 65 72 79 4e |...Curre|ntQueryN|
|000043d0| 75 6d 20 3d 20 31 3b 0d | 0a 09 51 75 65 72 79 4e |um = 1;.|..QueryN|
|000043e0| 75 6d 20 3d 20 43 75 72 | 72 65 6e 74 51 75 65 72 |um = Cur|rentQuer|
|000043f0| 79 4e 75 6d 3b 0d 0a 0d | 0a 09 51 75 65 72 79 20 |yNum;...|..Query |
|00004400| 3d 20 54 65 78 74 3b 0d | 0a 09 69 66 20 28 51 75 |= Text;.|..if (Qu|
|00004410| 65 72 79 20 3d 3d 20 22 | 22 29 09 09 2f 2f 20 49 |ery == "|")..// I|
|00004420| 66 20 74 68 65 20 73 74 | 72 69 6e 67 20 69 73 20 |f the st|ring is |
|00004430| 65 6d 70 74 79 2c 20 64 | 6f 6e 27 74 20 70 61 72 |empty, d|on't par|
|00004440| 73 65 20 69 74 0d 0a 09 | 09 51 75 65 72 79 52 65 |se it...|.QueryRe|
|00004450| 6d 61 69 6e 69 6e 67 20 | 3d 20 66 61 6c 73 65 3b |maining |= false;|
|00004460| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 51 75 65 72 79 |...else.|...Query|
|00004470| 52 65 6d 61 69 6e 69 6e | 67 20 3d 20 74 72 75 65 |Remainin|g = true|
|00004480| 3b 0d 0a 09 0d 0a 09 77 | 68 69 6c 65 20 28 51 75 |;......w|hile (Qu|
|00004490| 65 72 79 52 65 6d 61 69 | 6e 69 6e 67 29 20 7b 0d |eryRemai|ning) {.|
|000044a0| 0a 09 09 51 75 65 72 79 | 20 3d 20 50 61 72 73 65 |...Query| = Parse|
|000044b0| 51 75 65 72 79 28 41 64 | 64 72 2c 20 51 75 65 72 |Query(Ad|dr, Quer|
|000044c0| 79 2c 20 51 75 65 72 79 | 4e 75 6d 2c 20 50 61 63 |y, Query|Num, Pac|
|000044d0| 6b 65 74 4e 75 6d 29 3b | 0d 0a 09 09 69 66 20 28 |ketNum);|....if (|
|000044e0| 51 75 65 72 79 20 3d 3d | 20 22 22 29 0d 0a 09 09 |Query ==| "")....|
|000044f0| 09 51 75 65 72 79 52 65 | 6d 61 69 6e 69 6e 67 20 |.QueryRe|maining |
|00004500| 3d 20 66 61 6c 73 65 3b | 0d 0a 09 09 65 6c 73 65 |= false;|....else|
|00004510| 0d 0a 09 09 09 51 75 65 | 72 79 52 65 6d 61 69 6e |.....Que|ryRemain|
|00004520| 69 6e 67 20 3d 20 74 72 | 75 65 3b 0d 0a 09 7d 0d |ing = tr|ue;...}.|
|00004530| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 62 |.}....fu|nction b|
|00004540| 6f 6f 6c 20 50 61 72 73 | 65 4e 65 78 74 51 75 65 |ool Pars|eNextQue|
|00004550| 72 79 28 20 73 74 72 69 | 6e 67 20 51 75 65 72 79 |ry( stri|ng Query|
|00004560| 2c 20 6f 75 74 20 73 74 | 72 69 6e 67 20 51 75 65 |, out st|ring Que|
|00004570| 72 79 54 79 70 65 2c 20 | 6f 75 74 20 73 74 72 69 |ryType, |out stri|
|00004580| 6e 67 20 51 75 65 72 79 | 56 61 6c 75 65 2c 20 6f |ng Query|Value, o|
|00004590| 75 74 20 73 74 72 69 6e | 67 20 51 75 65 72 79 52 |ut strin|g QueryR|
|000045a0| 65 73 74 2c 20 6f 75 74 | 20 73 74 72 69 6e 67 20 |est, out| string |
|000045b0| 46 69 6e 61 6c 50 61 63 | 6b 65 74 20 29 0d 0a 7b |FinalPac|ket )..{|
|000045c0| 0d 0a 09 6c 6f 63 61 6c | 20 73 74 72 69 6e 67 20 |...local| string |
|000045d0| 54 65 6d 70 51 75 65 72 | 79 3b 0d 0a 09 6c 6f 63 |TempQuer|y;...loc|
|000045e0| 61 6c 20 69 6e 74 20 43 | 6c 6f 73 69 6e 67 53 6c |al int C|losingSl|
|000045f0| 61 73 68 3b 0d 0a 0d 0a | 09 69 66 20 28 51 75 65 |ash;....|.if (Que|
|00004600| 72 79 20 3d 3d 20 22 22 | 29 0d 0a 09 09 72 65 74 |ry == ""|)....ret|
|00004610| 75 72 6e 20 66 61 6c 73 | 65 3b 0d 0a 0d 0a 09 2f |urn fals|e;...../|
|00004620| 2f 20 51 75 65 72 79 20 | 73 68 6f 75 6c 64 20 62 |/ Query |should b|
|00004630| 65 3a 0d 0a 09 2f 2f 20 | 20 20 5c 5b 74 79 70 65 |e:...// | \[type|
|00004640| 5d 5c 3c 76 61 6c 75 65 | 3e 0d 0a 09 69 66 20 28 |]\<value|>...if (|
|00004650| 4c 65 66 74 28 51 75 65 | 72 79 2c 20 31 29 20 3d |Left(Que|ry, 1) =|
|00004660| 3d 20 22 5c 5c 22 29 0d | 0a 09 7b 0d 0a 09 09 2f |= "\\").|..{..../|
|00004670| 2f 20 43 68 65 63 6b 20 | 74 6f 20 73 65 65 20 69 |/ Check |to see i|
|00004680| 66 20 63 6c 6f 73 65 64 | 2e 0d 0a 09 09 43 6c 6f |f closed|.....Clo|
|00004690| 73 69 6e 67 53 6c 61 73 | 68 20 3d 20 49 6e 53 74 |singSlas|h = InSt|
|000046a0| 72 28 52 69 67 68 74 28 | 51 75 65 72 79 2c 20 4c |r(Right(|Query, L|
|000046b0| 65 6e 28 51 75 65 72 79 | 29 2d 31 29 2c 20 22 5c |en(Query|)-1), "\|
|000046c0| 5c 22 29 3b 0d 0a 09 09 | 69 66 20 28 43 6c 6f 73 |\");....|if (Clos|
|000046d0| 69 6e 67 53 6c 61 73 68 | 20 3d 3d 20 30 29 0d 0a |ingSlash| == 0)..|
|000046e0| 09 09 09 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b |...retur|n false;|
|000046f0| 0d 0a 0d 0a 09 09 54 65 | 6d 70 51 75 65 72 79 20 |......Te|mpQuery |
|00004700| 3d 20 51 75 65 72 79 3b | 0d 0a 0d 0a 09 09 2f 2f |= Query;|......//|
|00004710| 20 51 75 65 72 79 20 6c | 6f 6f 6b 73 20 6c 69 6b | Query l|ooks lik|
|00004720| 65 3a 0d 0a 09 09 2f 2f | 20 20 5c 5b 74 79 70 65 |e:....//| \[type|
|00004730| 5d 5c 0d 0a 09 09 51 75 | 65 72 79 54 79 70 65 20 |]\....Qu|eryType |
|00004740| 3d 20 52 69 67 68 74 28 | 51 75 65 72 79 2c 20 4c |= Right(|Query, L|
|00004750| 65 6e 28 51 75 65 72 79 | 29 2d 31 29 3b 0d 0a 09 |en(Query|)-1);...|
|00004760| 09 51 75 65 72 79 54 79 | 70 65 20 3d 20 4c 65 66 |.QueryTy|pe = Lef|
|00004770| 74 28 51 75 65 72 79 54 | 79 70 65 2c 20 43 6c 6f |t(QueryT|ype, Clo|
|00004780| 73 69 6e 67 53 6c 61 73 | 68 29 3b 0d 0a 0d 0a 09 |singSlas|h);.....|
|00004790| 09 51 75 65 72 79 52 65 | 73 74 20 3d 20 52 69 67 |.QueryRe|st = Rig|
|000047a0| 68 74 28 51 75 65 72 79 | 2c 20 4c 65 6e 28 51 75 |ht(Query|, Len(Qu|
|000047b0| 65 72 79 29 20 2d 20 28 | 4c 65 6e 28 51 75 65 72 |ery) - (|Len(Quer|
|000047c0| 79 54 79 70 65 29 20 2b | 20 32 29 29 3b 0d 0a 0d |yType) +| 2));...|
|000047d0| 0a 09 09 69 66 20 28 28 | 51 75 65 72 79 52 65 73 |...if ((|QueryRes|
|000047e0| 74 20 3d 3d 20 22 22 29 | 20 7c 7c 20 28 4c 65 6e |t == "")| || (Len|
|000047f0| 28 51 75 65 72 79 52 65 | 73 74 29 20 3d 3d 20 31 |(QueryRe|st) == 1|
|00004800| 29 29 0d 0a 09 09 7b 0d | 0a 09 09 09 46 69 6e 61 |))....{.|....Fina|
|00004810| 6c 50 61 63 6b 65 74 20 | 3d 20 22 66 69 6e 61 6c |lPacket |= "final|
|00004820| 22 3b 0d 0a 09 09 09 72 | 65 74 75 72 6e 20 74 72 |";.....r|eturn tr|
|00004830| 75 65 3b 0d 0a 09 09 7d | 20 65 6c 73 65 20 69 66 |ue;....}| else if|
|00004840| 20 28 4c 65 66 74 28 51 | 75 65 72 79 52 65 73 74 | (Left(Q|ueryRest|
|00004850| 2c 20 31 29 20 3d 3d 20 | 22 5c 5c 22 29 0d 0a 09 |, 1) == |"\\")...|
|00004860| 09 09 72 65 74 75 72 6e | 20 74 72 75 65 3b 09 2f |..return| true;./|
|00004870| 2f 20 5c 74 79 70 65 5c | 5c 0d 0a 0d 0a 09 09 2f |/ \type\|\....../|
|00004880| 2f 20 51 75 65 72 79 20 | 6c 6f 6f 6b 73 20 6c 69 |/ Query |looks li|
|00004890| 6b 65 3a 0d 0a 09 09 2f | 2f 20 20 5c 74 79 70 65 |ke:..../|/ \type|
|000048a0| 5c 76 61 6c 75 65 0d 0a | 09 09 43 6c 6f 73 69 6e |\value..|..Closin|
|000048b0| 67 53 6c 61 73 68 20 3d | 20 49 6e 53 74 72 28 51 |gSlash =| InStr(Q|
|000048c0| 75 65 72 79 52 65 73 74 | 2c 20 22 5c 5c 22 29 3b |ueryRest|, "\\");|
|000048d0| 0d 0a 09 09 69 66 20 28 | 43 6c 6f 73 69 6e 67 53 |....if (|ClosingS|
|000048e0| 6c 61 73 68 20 3e 3d 20 | 30 29 0d 0a 09 09 09 51 |lash >= |0).....Q|
|000048f0| 75 65 72 79 56 61 6c 75 | 65 20 3d 20 4c 65 66 74 |ueryValu|e = Left|
|00004900| 28 51 75 65 72 79 52 65 | 73 74 2c 20 43 6c 6f 73 |(QueryRe|st, Clos|
|00004910| 69 6e 67 53 6c 61 73 68 | 29 3b 0d 0a 09 09 65 6c |ingSlash|);....el|
|00004920| 73 65 0d 0a 09 09 09 51 | 75 65 72 79 56 61 6c 75 |se.....Q|ueryValu|
|00004930| 65 20 3d 20 51 75 65 72 | 79 52 65 73 74 3b 0d 0a |e = Quer|yRest;..|
|00004940| 0d 0a 09 09 51 75 65 72 | 79 52 65 73 74 20 3d 20 |....Quer|yRest = |
|00004950| 52 69 67 68 74 28 51 75 | 65 72 79 2c 20 4c 65 6e |Right(Qu|ery, Len|
|00004960| 28 51 75 65 72 79 29 20 | 2d 20 28 4c 65 6e 28 51 |(Query) |- (Len(Q|
|00004970| 75 65 72 79 54 79 70 65 | 29 20 2b 20 4c 65 6e 28 |ueryType|) + Len(|
|00004980| 51 75 65 72 79 56 61 6c | 75 65 29 20 2b 20 33 29 |QueryVal|ue) + 3)|
|00004990| 29 3b 0d 0a 09 09 69 66 | 20 28 51 75 65 72 79 52 |);....if| (QueryR|
|000049a0| 65 73 74 20 3d 3d 20 22 | 22 29 0d 0a 09 09 7b 0d |est == "|")....{.|
|000049b0| 0a 09 09 09 46 69 6e 61 | 6c 50 61 63 6b 65 74 20 |....Fina|lPacket |
|000049c0| 3d 20 22 66 69 6e 61 6c | 22 3b 0d 0a 09 09 09 72 |= "final|";.....r|
|000049d0| 65 74 75 72 6e 20 74 72 | 75 65 3b 0d 0a 09 09 7d |eturn tr|ue;....}|
|000049e0| 20 65 6c 73 65 0d 0a 09 | 09 09 72 65 74 75 72 6e | else...|..return|
|000049f0| 20 74 72 75 65 3b 0d 0a | 09 7d 20 65 6c 73 65 20 | true;..|.} else |
|00004a00| 7b 0d 0a 09 09 72 65 74 | 75 72 6e 20 66 61 6c 73 |{....ret|urn fals|
|00004a10| 65 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |e;...}..|}....fun|
|00004a20| 63 74 69 6f 6e 20 73 74 | 72 69 6e 67 20 50 61 72 |ction st|ring Par|
|00004a30| 73 65 51 75 65 72 79 28 | 20 49 70 41 64 64 72 20 |seQuery(| IpAddr |
|00004a40| 41 64 64 72 2c 20 63 6f | 65 72 63 65 20 73 74 72 |Addr, co|erce str|
|00004a50| 69 6e 67 20 51 75 65 72 | 79 2c 20 69 6e 74 20 51 |ing Quer|y, int Q|
|00004a60| 75 65 72 79 4e 75 6d 2c | 20 6f 75 74 20 69 6e 74 |ueryNum,| out int|
|00004a70| 20 50 61 63 6b 65 74 4e | 75 6d 20 29 0d 0a 7b 0d | PacketN|um )..{.|
|00004a80| 0a 09 6c 6f 63 61 6c 20 | 73 74 72 69 6e 67 20 51 |..local |string Q|
|00004a90| 75 65 72 79 54 79 70 65 | 2c 20 51 75 65 72 79 56 |ueryType|, QueryV|
|00004aa0| 61 6c 75 65 2c 20 51 75 | 65 72 79 52 65 73 74 2c |alue, Qu|eryRest,|
|00004ab0| 20 56 61 6c 69 64 61 74 | 69 6f 6e 53 74 72 69 6e | Validat|ionStrin|
|00004ac0| 67 3b 0d 0a 09 6c 6f 63 | 61 6c 20 62 6f 6f 6c 20 |g;...loc|al bool |
|00004ad0| 52 65 73 75 6c 74 3b 0d | 0a 09 6c 6f 63 61 6c 20 |Result;.|..local |
|00004ae0| 73 74 72 69 6e 67 20 46 | 69 6e 61 6c 50 61 63 6b |string F|inalPack|
|00004af0| 65 74 3b 0d 0a 09 0d 0a | 09 52 65 73 75 6c 74 20 |et;.....|.Result |
|00004b00| 3d 20 50 61 72 73 65 4e | 65 78 74 51 75 65 72 79 |= ParseN|extQuery|
|00004b10| 28 51 75 65 72 79 2c 20 | 51 75 65 72 79 54 79 70 |(Query, |QueryTyp|
|00004b20| 65 2c 20 51 75 65 72 79 | 56 61 6c 75 65 2c 20 51 |e, Query|Value, Q|
|00004b30| 75 65 72 79 52 65 73 74 | 2c 20 46 69 6e 61 6c 50 |ueryRest|, FinalP|
|00004b40| 61 63 6b 65 74 29 3b 0d | 0a 09 69 66 28 20 21 52 |acket);.|..if( !R|
|00004b50| 65 73 75 6c 74 20 29 0d | 0a 09 09 72 65 74 75 72 |esult ).|...retur|
|00004b60| 6e 20 22 22 3b 0d 0a 0d | 0a 09 69 66 28 20 51 75 |n "";...|..if( Qu|
|00004b70| 65 72 79 54 79 70 65 3d | 3d 22 62 61 73 69 63 22 |eryType=|="basic"|
|00004b80| 20 29 0d 0a 09 7b 0d 0a | 09 09 52 65 73 75 6c 74 | )...{..|..Result|
|00004b90| 20 3d 20 53 65 6e 64 51 | 75 65 72 79 50 61 63 6b | = SendQ|ueryPack|
|00004ba0| 65 74 28 41 64 64 72 2c | 20 47 65 74 42 61 73 69 |et(Addr,| GetBasi|
|00004bb0| 63 28 29 2c 20 51 75 65 | 72 79 4e 75 6d 2c 20 2b |c(), Que|ryNum, +|
|00004bc0| 2b 50 61 63 6b 65 74 4e | 75 6d 2c 20 46 69 6e 61 |+PacketN|um, Fina|
|00004bd0| 6c 50 61 63 6b 65 74 29 | 3b 0d 0a 09 7d 0d 0a 09 |lPacket)|;...}...|
|00004be0| 65 6c 73 65 20 69 66 28 | 20 51 75 65 72 79 54 79 |else if(| QueryTy|
|00004bf0| 70 65 3d 3d 22 69 6e 66 | 6f 22 20 29 0d 0a 09 7b |pe=="inf|o" )...{|
|00004c00| 0d 0a 09 09 52 65 73 75 | 6c 74 20 3d 20 53 65 6e |....Resu|lt = Sen|
|00004c10| 64 51 75 65 72 79 50 61 | 63 6b 65 74 28 41 64 64 |dQueryPa|cket(Add|
|00004c20| 72 2c 20 47 65 74 49 6e | 66 6f 28 29 2c 20 51 75 |r, GetIn|fo(), Qu|
|00004c30| 65 72 79 4e 75 6d 2c 20 | 2b 2b 50 61 63 6b 65 74 |eryNum, |++Packet|
|00004c40| 4e 75 6d 2c 20 46 69 6e | 61 6c 50 61 63 6b 65 74 |Num, Fin|alPacket|
|00004c50| 29 3b 0d 0a 09 7d 0d 0a | 09 65 6c 73 65 20 69 66 |);...}..|.else if|
|00004c60| 28 20 51 75 65 72 79 54 | 79 70 65 3d 3d 22 72 75 |( QueryT|ype=="ru|
|00004c70| 6c 65 73 22 20 29 0d 0a | 09 7b 0d 0a 09 09 52 65 |les" )..|.{....Re|
|00004c80| 73 75 6c 74 20 3d 20 53 | 65 6e 64 51 75 65 72 79 |sult = S|endQuery|
|00004c90| 50 61 63 6b 65 74 28 41 | 64 64 72 2c 20 47 65 74 |Packet(A|ddr, Get|
|00004ca0| 52 75 6c 65 73 28 29 2c | 20 51 75 65 72 79 4e 75 |Rules(),| QueryNu|
|00004cb0| 6d 2c 20 2b 2b 50 61 63 | 6b 65 74 4e 75 6d 2c 20 |m, ++Pac|ketNum, |
|00004cc0| 46 69 6e 61 6c 50 61 63 | 6b 65 74 29 3b 0d 0a 09 |FinalPac|ket);...|
|00004cd0| 7d 0d 0a 09 65 6c 73 65 | 20 69 66 28 20 51 75 65 |}...else| if( Que|
|00004ce0| 72 79 54 79 70 65 3d 3d | 22 70 6c 61 79 65 72 73 |ryType==|"players|
|00004cf0| 22 20 29 0d 0a 09 7b 0d | 0a 09 09 69 66 28 20 4c |" )...{.|...if( L|
|00004d00| 65 76 65 6c 2e 47 61 6d | 65 2e 4e 75 6d 50 6c 61 |evel.Gam|e.NumPla|
|00004d10| 79 65 72 73 20 3e 20 30 | 20 29 0d 0a 09 09 09 52 |yers > 0| ).....R|
|00004d20| 65 73 75 6c 74 20 3d 20 | 53 65 6e 64 50 6c 61 79 |esult = |SendPlay|
|00004d30| 65 72 73 28 41 64 64 72 | 2c 20 51 75 65 72 79 4e |ers(Addr|, QueryN|
|00004d40| 75 6d 2c 20 50 61 63 6b | 65 74 4e 75 6d 2c 20 46 |um, Pack|etNum, F|
|00004d50| 69 6e 61 6c 50 61 63 6b | 65 74 29 3b 0d 0a 09 09 |inalPack|et);....|
|00004d60| 65 6c 73 65 0d 0a 09 09 | 09 52 65 73 75 6c 74 20 |else....|.Result |
|00004d70| 3d 20 53 65 6e 64 51 75 | 65 72 79 50 61 63 6b 65 |= SendQu|eryPacke|
|00004d80| 74 28 41 64 64 72 2c 20 | 22 22 2c 20 51 75 65 72 |t(Addr, |"", Quer|
|00004d90| 79 4e 75 6d 2c 20 50 61 | 63 6b 65 74 4e 75 6d 2c |yNum, Pa|cketNum,|
|00004da0| 20 46 69 6e 61 6c 50 61 | 63 6b 65 74 29 3b 0d 0a | FinalPa|cket);..|
|00004db0| 09 7d 0d 0a 09 65 6c 73 | 65 20 69 66 28 20 51 75 |.}...els|e if( Qu|
|00004dc0| 65 72 79 54 79 70 65 3d | 3d 22 73 74 61 74 75 73 |eryType=|="status|
|00004dd0| 22 20 29 0d 0a 09 7b 0d | 0a 09 09 52 65 73 75 6c |" )...{.|...Resul|
|00004de0| 74 20 3d 20 53 65 6e 64 | 51 75 65 72 79 50 61 63 |t = Send|QueryPac|
|00004df0| 6b 65 74 28 41 64 64 72 | 2c 20 47 65 74 42 61 73 |ket(Addr|, GetBas|
|00004e00| 69 63 28 29 2c 20 51 75 | 65 72 79 4e 75 6d 2c 20 |ic(), Qu|eryNum, |
|00004e10| 2b 2b 50 61 63 6b 65 74 | 4e 75 6d 2c 20 22 22 29 |++Packet|Num, "")|
|00004e20| 3b 0d 0a 09 09 52 65 73 | 75 6c 74 20 3d 20 53 65 |;....Res|ult = Se|
|00004e30| 6e 64 51 75 65 72 79 50 | 61 63 6b 65 74 28 41 64 |ndQueryP|acket(Ad|
|00004e40| 64 72 2c 20 47 65 74 49 | 6e 66 6f 28 29 2c 20 51 |dr, GetI|nfo(), Q|
|00004e50| 75 65 72 79 4e 75 6d 2c | 20 2b 2b 50 61 63 6b 65 |ueryNum,| ++Packe|
|00004e60| 74 4e 75 6d 2c 20 22 22 | 29 3b 0d 0a 09 09 69 66 |tNum, ""|);....if|
|00004e70| 28 20 4c 65 76 65 6c 2e | 47 61 6d 65 2e 4e 75 6d |( Level.|Game.Num|
|00004e80| 50 6c 61 79 65 72 73 20 | 3d 3d 20 30 20 29 0d 0a |Players |== 0 )..|
|00004e90| 09 09 7b 0d 0a 09 09 09 | 52 65 73 75 6c 74 20 3d |..{.....|Result =|
|00004ea0| 20 53 65 6e 64 51 75 65 | 72 79 50 61 63 6b 65 74 | SendQue|ryPacket|
|00004eb0| 28 41 64 64 72 2c 20 47 | 65 74 52 75 6c 65 73 28 |(Addr, G|etRules(|
|00004ec0| 29 2c 20 51 75 65 72 79 | 4e 75 6d 2c 20 2b 2b 50 |), Query|Num, ++P|
|00004ed0| 61 63 6b 65 74 4e 75 6d | 2c 20 46 69 6e 61 6c 50 |acketNum|, FinalP|
|00004ee0| 61 63 6b 65 74 29 3b 0d | 0a 09 09 7d 0d 0a 09 09 |acket);.|...}....|
|00004ef0| 65 6c 73 65 0d 0a 09 09 | 7b 0d 0a 09 09 09 52 65 |else....|{.....Re|
|00004f00| 73 75 6c 74 20 3d 20 53 | 65 6e 64 51 75 65 72 79 |sult = S|endQuery|
|00004f10| 50 61 63 6b 65 74 28 41 | 64 64 72 2c 20 47 65 74 |Packet(A|ddr, Get|
|00004f20| 52 75 6c 65 73 28 29 2c | 20 51 75 65 72 79 4e 75 |Rules(),| QueryNu|
|00004f30| 6d 2c 20 2b 2b 50 61 63 | 6b 65 74 4e 75 6d 2c 20 |m, ++Pac|ketNum, |
|00004f40| 22 22 29 3b 0d 0a 09 09 | 09 52 65 73 75 6c 74 20 |"");....|.Result |
|00004f50| 3d 20 53 65 6e 64 50 6c | 61 79 65 72 73 28 41 64 |= SendPl|ayers(Ad|
|00004f60| 64 72 2c 20 51 75 65 72 | 79 4e 75 6d 2c 20 50 61 |dr, Quer|yNum, Pa|
|00004f70| 63 6b 65 74 4e 75 6d 2c | 20 46 69 6e 61 6c 50 61 |cketNum,| FinalPa|
|00004f80| 63 6b 65 74 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |cket);..|..}...}.|
|00004f90| 0a 09 65 6c 73 65 20 69 | 66 28 20 51 75 65 72 79 |..else i|f( Query|
|00004fa0| 54 79 70 65 3d 3d 22 65 | 63 68 6f 22 20 29 0d 0a |Type=="e|cho" )..|
|00004fb0| 09 7b 0d 0a 09 09 2f 2f | 20 52 65 73 70 6f 6e 64 |.{....//| Respond|
|00004fc0| 20 74 6f 20 61 6e 20 65 | 63 68 6f 20 77 69 74 68 | to an e|cho with|
|00004fd0| 20 74 68 65 20 73 61 6d | 65 20 73 74 72 69 6e 67 | the sam|e string|
|00004fe0| 0d 0a 09 09 52 65 73 75 | 6c 74 20 3d 20 53 65 6e |....Resu|lt = Sen|
|00004ff0| 64 51 75 65 72 79 50 61 | 63 6b 65 74 28 41 64 64 |dQueryPa|cket(Add|
|00005000| 72 2c 20 22 5c 5c 65 63 | 68 6f 5c 5c 22 24 51 75 |r, "\\ec|ho\\"$Qu|
|00005010| 65 72 79 56 61 6c 75 65 | 2c 20 51 75 65 72 79 4e |eryValue|, QueryN|
|00005020| 75 6d 2c 20 2b 2b 50 61 | 63 6b 65 74 4e 75 6d 2c |um, ++Pa|cketNum,|
|00005030| 20 46 69 6e 61 6c 50 61 | 63 6b 65 74 29 3b 0d 0a | FinalPa|cket);..|
|00005040| 09 7d 0d 0a 09 65 6c 73 | 65 20 69 66 28 20 51 75 |.}...els|e if( Qu|
|00005050| 65 72 79 54 79 70 65 3d | 3d 22 73 65 63 75 72 65 |eryType=|="secure|
|00005060| 22 20 29 0d 0a 09 7b 0d | 0a 09 09 56 61 6c 69 64 |" )...{.|...Valid|
|00005070| 61 74 69 6f 6e 53 74 72 | 69 6e 67 20 3d 20 22 5c |ationStr|ing = "\|
|00005080| 5c 76 61 6c 69 64 61 74 | 65 5c 5c 22 24 56 61 6c |\validat|e\\"$Val|
|00005090| 69 64 61 74 65 28 51 75 | 65 72 79 56 61 6c 75 65 |idate(Qu|eryValue|
|000050a0| 2c 20 47 61 6d 65 4e 61 | 6d 65 29 3b 0d 0a 09 09 |, GameNa|me);....|
|000050b0| 52 65 73 75 6c 74 20 3d | 20 53 65 6e 64 51 75 65 |Result =| SendQue|
|000050c0| 72 79 50 61 63 6b 65 74 | 28 41 64 64 72 2c 20 56 |ryPacket|(Addr, V|
|000050d0| 61 6c 69 64 61 74 69 6f | 6e 53 74 72 69 6e 67 2c |alidatio|nString,|
|000050e0| 20 51 75 65 72 79 4e 75 | 6d 2c 20 2b 2b 50 61 63 | QueryNu|m, ++Pac|
|000050f0| 6b 65 74 4e 75 6d 2c 20 | 46 69 6e 61 6c 50 61 63 |ketNum, |FinalPac|
|00005100| 6b 65 74 29 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |ket);...|}...else|
|00005110| 20 69 66 28 20 51 75 65 | 72 79 54 79 70 65 3d 3d | if( Que|ryType==|
|00005120| 22 6c 65 76 65 6c 5f 70 | 72 6f 70 65 72 74 79 22 |"level_p|roperty"|
|00005130| 20 29 0d 0a 09 7b 0d 0a | 09 09 52 65 73 75 6c 74 | )...{..|..Result|
|00005140| 20 3d 20 53 65 6e 64 51 | 75 65 72 79 50 61 63 6b | = SendQ|ueryPack|
|00005150| 65 74 28 41 64 64 72 2c | 20 47 65 74 4c 65 76 65 |et(Addr,| GetLeve|
|00005160| 6c 50 72 6f 70 65 72 74 | 79 28 51 75 65 72 79 56 |lPropert|y(QueryV|
|00005170| 61 6c 75 65 29 2c 20 51 | 75 65 72 79 4e 75 6d 2c |alue), Q|ueryNum,|
|00005180| 20 2b 2b 50 61 63 6b 65 | 74 4e 75 6d 2c 20 46 69 | ++Packe|tNum, Fi|
|00005190| 6e 61 6c 50 61 63 6b 65 | 74 29 3b 0d 0a 09 7d 0d |nalPacke|t);...}.|
|000051a0| 0a 09 65 6c 73 65 20 69 | 66 28 20 51 75 65 72 79 |..else i|f( Query|
|000051b0| 54 79 70 65 3d 3d 22 67 | 61 6d 65 5f 70 72 6f 70 |Type=="g|ame_prop|
|000051c0| 65 72 74 79 22 20 29 0d | 0a 09 7b 0d 0a 09 09 09 |erty" ).|..{.....|
|000051d0| 52 65 73 75 6c 74 20 3d | 20 53 65 6e 64 51 75 65 |Result =| SendQue|
|000051e0| 72 79 50 61 63 6b 65 74 | 28 41 64 64 72 2c 20 47 |ryPacket|(Addr, G|
|000051f0| 65 74 47 61 6d 65 50 72 | 6f 70 65 72 74 79 28 51 |etGamePr|operty(Q|
|00005200| 75 65 72 79 56 61 6c 75 | 65 29 2c 20 51 75 65 72 |ueryValu|e), Quer|
|00005210| 79 4e 75 6d 2c 20 2b 2b | 50 61 63 6b 65 74 4e 75 |yNum, ++|PacketNu|
|00005220| 6d 2c 20 46 69 6e 61 6c | 50 61 63 6b 65 74 29 3b |m, Final|Packet);|
|00005230| 0d 0a 09 7d 0d 0a 09 65 | 6c 73 65 20 69 66 28 20 |...}...e|lse if( |
|00005240| 51 75 65 72 79 54 79 70 | 65 3d 3d 22 70 6c 61 79 |QueryTyp|e=="play|
|00005250| 65 72 5f 70 72 6f 70 65 | 72 74 79 22 20 29 0d 0a |er_prope|rty" )..|
|00005260| 09 7b 0d 0a 09 09 52 65 | 73 75 6c 74 20 3d 20 53 |.{....Re|sult = S|
|00005270| 65 6e 64 51 75 65 72 79 | 50 61 63 6b 65 74 28 41 |endQuery|Packet(A|
|00005280| 64 64 72 2c 20 47 65 74 | 50 6c 61 79 65 72 50 72 |ddr, Get|PlayerPr|
|00005290| 6f 70 65 72 74 79 28 51 | 75 65 72 79 56 61 6c 75 |operty(Q|ueryValu|
|000052a0| 65 29 2c 20 51 75 65 72 | 79 4e 75 6d 2c 20 2b 2b |e), Quer|yNum, ++|
|000052b0| 50 61 63 6b 65 74 4e 75 | 6d 2c 20 46 69 6e 61 6c |PacketNu|m, Final|
|000052c0| 50 61 63 6b 65 74 29 3b | 0d 0a 09 7d 0d 0a 09 65 |Packet);|...}...e|
|000052d0| 6c 73 65 0d 0a 09 7b 0d | 0a 09 09 4c 6f 67 28 22 |lse...{.|...Log("|
|000052e0| 55 64 70 53 65 72 76 65 | 72 51 75 65 72 79 3a 20 |UdpServe|rQuery: |
|000052f0| 55 6e 6b 6e 6f 77 6e 20 | 71 75 65 72 79 3a 20 22 |Unknown |query: "|
|00005300| 24 51 75 65 72 79 54 79 | 70 65 29 3b 0d 0a 09 7d |$QueryTy|pe);...}|
|00005310| 0d 0a 09 69 66 28 20 21 | 52 65 73 75 6c 74 20 29 |...if( !|Result )|
|00005320| 0d 0a 09 09 4c 6f 67 28 | 22 55 64 70 53 65 72 76 |....Log(|"UdpServ|
|00005330| 65 72 51 75 65 72 79 3a | 20 45 72 72 6f 72 20 72 |erQuery:| Error r|
|00005340| 65 73 70 6f 6e 64 69 6e | 67 20 74 6f 20 71 75 65 |espondin|g to que|
|00005350| 72 79 2e 22 29 3b 0d 0a | 09 72 65 74 75 72 6e 20 |ry.");..|.return |
|00005360| 51 75 65 72 79 52 65 73 | 74 3b 0d 0a 7d 0d 0a 0d |QueryRes|t;..}...|
|00005370| 0a 2f 2f 20 53 65 6e 64 | 51 75 65 72 79 50 61 63 |.// Send|QueryPac|
|00005380| 6b 65 74 20 69 73 20 61 | 20 77 72 61 70 70 65 72 |ket is a| wrapper|
|00005390| 20 66 6f 72 20 53 65 6e | 64 54 65 78 74 20 74 68 | for Sen|dText th|
|000053a0| 61 74 20 61 6c 6c 6f 77 | 73 20 66 6f 72 20 70 61 |at allow|s for pa|
|000053b0| 63 6b 65 74 20 6e 75 6d | 62 65 72 69 6e 67 2e 0d |cket num|bering..|
|000053c0| 0a 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 53 |.functio|n bool S|
|000053d0| 65 6e 64 51 75 65 72 79 | 50 61 63 6b 65 74 28 49 |endQuery|Packet(I|
|000053e0| 70 41 64 64 72 20 41 64 | 64 72 2c 20 63 6f 65 72 |pAddr Ad|dr, coer|
|000053f0| 63 65 20 73 74 72 69 6e | 67 20 53 65 6e 64 53 74 |ce strin|g SendSt|
|00005400| 72 69 6e 67 2c 20 69 6e | 74 20 51 75 65 72 79 4e |ring, in|t QueryN|
|00005410| 75 6d 2c 20 69 6e 74 20 | 50 61 63 6b 65 74 4e 75 |um, int |PacketNu|
|00005420| 6d 2c 20 73 74 72 69 6e | 67 20 46 69 6e 61 6c 50 |m, strin|g FinalP|
|00005430| 61 63 6b 65 74 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |acket)..|{...loca|
|00005440| 6c 20 62 6f 6f 6c 20 52 | 65 73 75 6c 74 3b 0d 0a |l bool R|esult;..|
|00005450| 09 69 66 20 28 46 69 6e | 61 6c 50 61 63 6b 65 74 |.if (Fin|alPacket|
|00005460| 20 3d 3d 20 22 66 69 6e | 61 6c 22 29 20 7b 0d 0a | == "fin|al") {..|
|00005470| 09 09 53 65 6e 64 53 74 | 72 69 6e 67 20 3d 20 53 |..SendSt|ring = S|
|00005480| 65 6e 64 53 74 72 69 6e | 67 24 22 5c 5c 66 69 6e |endStrin|g$"\\fin|
|00005490| 61 6c 5c 5c 22 3b 0d 0a | 09 7d 0d 0a 09 53 65 6e |al\\";..|.}...Sen|
|000054a0| 64 53 74 72 69 6e 67 20 | 3d 20 53 65 6e 64 53 74 |dString |= SendSt|
|000054b0| 72 69 6e 67 24 22 5c 5c | 71 75 65 72 79 69 64 5c |ring$"\\|queryid\|
|000054c0| 5c 22 24 51 75 65 72 79 | 4e 75 6d 24 22 2e 22 24 |\"$Query|Num$"."$|
|000054d0| 50 61 63 6b 65 74 4e 75 | 6d 3b 0d 0a 0d 0a 09 52 |PacketNu|m;.....R|
|000054e0| 65 73 75 6c 74 20 3d 20 | 53 65 6e 64 54 65 78 74 |esult = |SendText|
|000054f0| 28 41 64 64 72 2c 20 53 | 65 6e 64 53 74 72 69 6e |(Addr, S|endStrin|
|00005500| 67 29 3b 0d 0a 0d 0a 09 | 72 65 74 75 72 6e 20 52 |g);.....|return R|
|00005510| 65 73 75 6c 74 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2f 20 |esult;..|}....// |
|00005520| 52 65 74 75 72 6e 20 61 | 20 73 74 72 69 6e 67 20 |Return a| string |
|00005530| 6f 66 20 62 61 73 69 63 | 20 69 6e 66 6f 72 6d 61 |of basic| informa|
|00005540| 74 69 6f 6e 2e 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |tion...f|unction |
|00005550| 73 74 72 69 6e 67 20 47 | 65 74 42 61 73 69 63 28 |string G|etBasic(|
|00005560| 29 20 7b 0d 0a 09 6c 6f | 63 61 6c 20 73 74 72 69 |) {...lo|cal stri|
|00005570| 6e 67 20 52 65 73 75 6c | 74 53 65 74 3b 0d 0a 0d |ng Resul|tSet;...|
|00005580| 0a 09 2f 2f 20 54 68 65 | 20 6e 61 6d 65 20 6f 66 |..// The| name of|
|00005590| 20 74 68 69 73 20 67 61 | 6d 65 2e 0d 0a 09 52 65 | this ga|me....Re|
|000055a0| 73 75 6c 74 53 65 74 20 | 3d 20 22 5c 5c 67 61 6d |sultSet |= "\\gam|
|000055b0| 65 6e 61 6d 65 5c 5c 22 | 24 47 61 6d 65 4e 61 6d |ename\\"|$GameNam|
|000055c0| 65 3b 0d 0a 0d 0a 09 2f | 2f 20 54 68 65 20 76 65 |e;...../|/ The ve|
|000055d0| 72 73 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 67 61 |rsion of| this ga|
|000055e0| 6d 65 2e 0d 0a 09 52 65 | 73 75 6c 74 53 65 74 20 |me....Re|sultSet |
|000055f0| 3d 20 52 65 73 75 6c 74 | 53 65 74 24 22 5c 5c 67 |= Result|Set$"\\g|
|00005600| 61 6d 65 76 65 72 5c 5c | 22 24 4c 65 76 65 6c 2e |amever\\|"$Level.|
|00005610| 45 6e 67 69 6e 65 56 65 | 72 73 69 6f 6e 3b 0d 0a |EngineVe|rsion;..|
|00005620| 0d 0a 09 2f 2f 20 54 68 | 65 20 6d 6f 73 74 20 72 |...// Th|e most r|
|00005630| 65 63 65 6e 74 20 6e 65 | 74 77 6f 72 6b 20 63 6f |ecent ne|twork co|
|00005640| 6d 70 61 74 69 62 6c 65 | 20 76 65 72 73 69 6f 6e |mpatible| version|
|00005650| 2e 0d 0a 09 52 65 73 75 | 6c 74 53 65 74 20 3d 20 |....Resu|ltSet = |
|00005660| 52 65 73 75 6c 74 53 65 | 74 24 22 5c 5c 6d 69 6e |ResultSe|t$"\\min|
|00005670| 6e 65 74 76 65 72 5c 5c | 22 24 4c 65 76 65 6c 2e |netver\\|"$Level.|
|00005680| 4d 69 6e 4e 65 74 56 65 | 72 73 69 6f 6e 3b 0d 0a |MinNetVe|rsion;..|
|00005690| 0d 0a 09 2f 2f 20 54 68 | 65 20 72 65 67 69 6f 6e |...// Th|e region|
|000056a0| 61 6c 20 6c 6f 63 61 74 | 69 6f 6e 20 6f 66 20 74 |al locat|ion of t|
|000056b0| 68 69 73 20 67 61 6d 65 | 2e 0d 0a 09 52 65 73 75 |his game|....Resu|
|000056c0| 6c 74 53 65 74 20 3d 20 | 52 65 73 75 6c 74 53 65 |ltSet = |ResultSe|
|000056d0| 74 24 22 5c 5c 6c 6f 63 | 61 74 69 6f 6e 5c 5c 22 |t$"\\loc|ation\\"|
|000056e0| 24 4c 65 76 65 6c 2e 47 | 61 6d 65 2e 47 61 6d 65 |$Level.G|ame.Game|
|000056f0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00005700| 52 65 67 69 6f 6e 3b 0d | 0a 09 0d 0a 09 72 65 74 |Region;.|.....ret|
|00005710| 75 72 6e 20 52 65 73 75 | 6c 74 53 65 74 3b 0d 0a |urn Resu|ltSet;..|
|00005720| 7d 0d 0a 0d 0a 2f 2f 20 | 52 65 74 75 72 6e 20 61 |}....// |Return a|
|00005730| 20 73 74 72 69 6e 67 20 | 6f 66 20 69 6d 70 6f 72 | string |of impor|
|00005740| 74 61 6e 74 20 73 79 73 | 74 65 6d 20 69 6e 66 6f |tant sys|tem info|
|00005750| 72 6d 61 74 69 6f 6e 2e | 0d 0a 66 75 6e 63 74 69 |rmation.|..functi|
|00005760| 6f 6e 20 73 74 72 69 6e | 67 20 47 65 74 49 6e 66 |on strin|g GetInf|
|00005770| 6f 28 29 20 7b 0d 0a 09 | 6c 6f 63 61 6c 20 73 74 |o() {...|local st|
|00005780| 72 69 6e 67 20 52 65 73 | 75 6c 74 53 65 74 3b 0d |ring Res|ultSet;.|
|00005790| 0a 0d 0a 09 2f 2f 20 54 | 68 65 20 73 65 72 76 65 |....// T|he serve|
|000057a0| 72 20 6e 61 6d 65 2c 20 | 69 2e 65 2e 3a 20 42 6f |r name, |i.e.: Bo|
|000057b0| 62 92 73 20 53 65 72 76 | 65 72 0d 0a 09 52 65 73 |b.s Serv|er...Res|
|000057c0| 75 6c 74 53 65 74 20 3d | 20 22 5c 5c 68 6f 73 74 |ultSet =| "\\host|
|000057d0| 6e 61 6d 65 5c 5c 22 24 | 4c 65 76 65 6c 2e 47 61 |name\\"$|Level.Ga|
|000057e0| 6d 65 2e 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |me.GameR|eplicati|
|000057f0| 6f 6e 49 6e 66 6f 2e 53 | 65 72 76 65 72 4e 61 6d |onInfo.S|erverNam|
|00005800| 65 3b 0d 0a 0d 0a 09 2f | 2f 20 54 68 65 20 73 68 |e;...../|/ The sh|
|00005810| 6f 72 74 20 73 65 72 76 | 65 72 20 6e 61 6d 65 0d |ort serv|er name.|
|00005820| 0a 09 2f 2f 52 65 73 75 | 6c 74 53 65 74 20 3d 20 |..//Resu|ltSet = |
|00005830| 52 65 73 75 6c 74 53 65 | 74 24 22 5c 5c 73 68 6f |ResultSe|t$"\\sho|
|00005840| 72 74 6e 61 6d 65 5c 5c | 22 24 4c 65 76 65 6c 2e |rtname\\|"$Level.|
|00005850| 47 61 6d 65 2e 47 61 6d | 65 52 65 70 6c 69 63 61 |Game.Gam|eReplica|
|00005860| 74 69 6f 6e 49 6e 66 6f | 2e 53 68 6f 72 74 4e 61 |tionInfo|.ShortNa|
|00005870| 6d 65 3b 0d 0a 0d 0a 09 | 2f 2f 20 54 68 65 20 73 |me;.....|// The s|
|00005880| 65 72 76 65 72 20 70 6f | 72 74 2e 0d 0a 09 52 65 |erver po|rt....Re|
|00005890| 73 75 6c 74 53 65 74 20 | 3d 20 52 65 73 75 6c 74 |sultSet |= Result|
|000058a0| 53 65 74 24 22 5c 5c 68 | 6f 73 74 70 6f 72 74 5c |Set$"\\h|ostport\|
|000058b0| 5c 22 24 4c 65 76 65 6c | 2e 47 61 6d 65 2e 47 65 |\"$Level|.Game.Ge|
|000058c0| 74 53 65 72 76 65 72 50 | 6f 72 74 28 29 3b 0d 0a |tServerP|ort();..|
|000058d0| 0d 0a 09 2f 2f 20 28 6f | 70 74 69 6f 6e 61 6c 29 |...// (o|ptional)|
|000058e0| 20 54 68 65 20 73 65 72 | 76 65 72 20 49 50 0d 0a | The ser|ver IP..|
|000058f0| 09 2f 2f 20 69 66 20 28 | 53 65 72 76 65 72 49 50 |.// if (|ServerIP|
|00005900| 20 21 3d 20 22 22 29 0d | 0a 09 2f 2f 09 52 65 73 | != "").|..//.Res|
|00005910| 75 6c 74 53 65 74 20 3d | 20 52 65 73 75 6c 74 53 |ultSet =| ResultS|
|00005920| 65 74 24 22 5c 5c 68 6f | 73 74 69 70 5c 5c 22 24 |et$"\\ho|stip\\"$|
|00005930| 53 65 72 76 65 72 49 50 | 3b 0d 0a 0d 0a 09 2f 2f |ServerIP|;.....//|
|00005940| 20 54 68 65 20 6d 61 70 | 2f 6c 65 76 65 6c 20 74 | The map|/level t|
|00005950| 69 74 6c 65 0d 0a 09 52 | 65 73 75 6c 74 53 65 74 |itle...R|esultSet|
|00005960| 20 3d 20 52 65 73 75 6c | 74 53 65 74 24 22 5c 5c | = Resul|tSet$"\\|
|00005970| 6d 61 70 74 69 74 6c 65 | 5c 5c 22 24 4c 65 76 65 |maptitle|\\"$Leve|
|00005980| 6c 2e 54 69 74 6c 65 3b | 0d 0a 09 0d 0a 09 2f 2f |l.Title;|......//|
|00005990| 20 4d 61 70 20 6e 61 6d | 65 0d 0a 09 52 65 73 75 | Map nam|e...Resu|
|000059a0| 6c 74 53 65 74 20 3d 20 | 52 65 73 75 6c 74 53 65 |ltSet = |ResultSe|
|000059b0| 74 24 22 5c 5c 6d 61 70 | 6e 61 6d 65 5c 5c 22 24 |t$"\\map|name\\"$|
|000059c0| 4c 65 66 74 28 73 74 72 | 69 6e 67 28 4c 65 76 65 |Left(str|ing(Leve|
|000059d0| 6c 29 2c 20 49 6e 53 74 | 72 28 73 74 72 69 6e 67 |l), InSt|r(string|
|000059e0| 28 4c 65 76 65 6c 29 2c | 20 22 2e 22 29 29 3b 0d |(Level),| "."));.|
|000059f0| 0a 0d 0a 09 2f 2f 20 54 | 68 65 20 6d 6f 64 20 6f |....// T|he mod o|
|00005a00| 72 20 67 61 6d 65 20 74 | 79 70 65 0d 0a 09 52 65 |r game t|ype...Re|
|00005a10| 73 75 6c 74 53 65 74 20 | 3d 20 52 65 73 75 6c 74 |sultSet |= Result|
|00005a20| 53 65 74 24 22 5c 5c 67 | 61 6d 65 74 79 70 65 5c |Set$"\\g|ametype\|
|00005a30| 5c 22 24 47 65 74 49 74 | 65 6d 4e 61 6d 65 28 73 |\"$GetIt|emName(s|
|00005a40| 74 72 69 6e 67 28 4c 65 | 76 65 6c 2e 47 61 6d 65 |tring(Le|vel.Game|
|00005a50| 2e 43 6c 61 73 73 29 29 | 3b 0d 0a 0d 0a 09 2f 2f |.Class))|;.....//|
|00005a60| 20 54 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 70 | The num|ber of p|
|00005a70| 6c 61 79 65 72 73 0d 0a | 09 52 65 73 75 6c 74 53 |layers..|.ResultS|
|00005a80| 65 74 20 3d 20 52 65 73 | 75 6c 74 53 65 74 24 22 |et = Res|ultSet$"|
|00005a90| 5c 5c 6e 75 6d 70 6c 61 | 79 65 72 73 5c 5c 22 24 |\\numpla|yers\\"$|
|00005aa0| 4c 65 76 65 6c 2e 47 61 | 6d 65 2e 4e 75 6d 50 6c |Level.Ga|me.NumPl|
|00005ab0| 61 79 65 72 73 3b 0d 0a | 0d 0a 09 2f 2f 20 54 68 |ayers;..|...// Th|
|00005ac0| 65 20 6d 61 78 69 6d 75 | 6d 20 6e 75 6d 62 65 72 |e maximu|m number|
|00005ad0| 20 6f 66 20 70 6c 61 79 | 65 72 73 0d 0a 09 52 65 | of play|ers...Re|
|00005ae0| 73 75 6c 74 53 65 74 20 | 3d 20 52 65 73 75 6c 74 |sultSet |= Result|
|00005af0| 53 65 74 24 22 5c 5c 6d | 61 78 70 6c 61 79 65 72 |Set$"\\m|axplayer|
|00005b00| 73 5c 5c 22 24 4c 65 76 | 65 6c 2e 47 61 6d 65 2e |s\\"$Lev|el.Game.|
|00005b10| 4d 61 78 50 6c 61 79 65 | 72 73 3b 0d 0a 0d 0a 09 |MaxPlaye|rs;.....|
|00005b20| 2f 2f 20 54 68 65 20 67 | 61 6d 65 20 6d 6f 64 65 |// The g|ame mode|
|00005b30| 3a 20 6f 70 65 6e 70 6c | 61 79 69 6e 67 0d 0a 09 |: openpl|aying...|
|00005b40| 52 65 73 75 6c 74 53 65 | 74 20 3d 20 52 65 73 75 |ResultSe|t = Resu|
|00005b50| 6c 74 53 65 74 24 22 5c | 5c 67 61 6d 65 6d 6f 64 |ltSet$"\|\gamemod|
|00005b60| 65 5c 5c 6f 70 65 6e 70 | 6c 61 79 69 6e 67 22 3b |e\\openp|laying";|
|00005b70| 0d 0a 0d 0a 09 2f 2f 20 | 54 68 65 20 76 65 72 73 |.....// |The vers|
|00005b80| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 67 61 6d 65 |ion of t|his game|
|00005b90| 2e 0d 0a 09 52 65 73 75 | 6c 74 53 65 74 20 3d 20 |....Resu|ltSet = |
|00005ba0| 52 65 73 75 6c 74 53 65 | 74 24 22 5c 5c 67 61 6d |ResultSe|t$"\\gam|
|00005bb0| 65 76 65 72 5c 5c 22 24 | 4c 65 76 65 6c 2e 45 6e |ever\\"$|Level.En|
|00005bc0| 67 69 6e 65 56 65 72 73 | 69 6f 6e 3b 0d 0a 0d 0a |gineVers|ion;....|
|00005bd0| 09 2f 2f 20 54 68 65 20 | 6d 6f 73 74 20 72 65 63 |.// The |most rec|
|00005be0| 65 6e 74 20 6e 65 74 77 | 6f 72 6b 20 63 6f 6d 70 |ent netw|ork comp|
|00005bf0| 61 74 69 62 6c 65 20 76 | 65 72 73 69 6f 6e 2e 0d |atible v|ersion..|
|00005c00| 0a 09 52 65 73 75 6c 74 | 53 65 74 20 3d 20 52 65 |..Result|Set = Re|
|00005c10| 73 75 6c 74 53 65 74 24 | 22 5c 5c 6d 69 6e 6e 65 |sultSet$|"\\minne|
|00005c20| 74 76 65 72 5c 5c 22 24 | 4c 65 76 65 6c 2e 4d 69 |tver\\"$|Level.Mi|
|00005c30| 6e 4e 65 74 56 65 72 73 | 69 6f 6e 3b 0d 0a 0d 0a |nNetVers|ion;....|
|00005c40| 09 52 65 73 75 6c 74 53 | 65 74 20 3d 20 52 65 73 |.ResultS|et = Res|
|00005c50| 75 6c 74 53 65 74 24 4c | 65 76 65 6c 2e 47 61 6d |ultSet$L|evel.Gam|
|00005c60| 65 2e 47 65 74 49 6e 66 | 6f 28 29 3b 0d 0a 0d 0a |e.GetInf|o();....|
|00005c70| 09 72 65 74 75 72 6e 20 | 52 65 73 75 6c 74 53 65 |.return |ResultSe|
|00005c80| 74 3b 0d 0a 7d 0d 0a 0d | 0a 2f 2f 20 52 65 74 75 |t;..}...|.// Retu|
|00005c90| 72 6e 20 61 20 73 74 72 | 69 6e 67 20 6f 66 20 6d |rn a str|ing of m|
|00005ca0| 69 73 63 65 6c 6c 61 6e | 65 6f 75 73 20 69 6e 66 |iscellan|eous inf|
|00005cb0| 6f 72 6d 61 74 69 6f 6e | 2e 0d 0a 2f 2f 20 47 61 |ormation|...// Ga|
|00005cc0| 6d 65 20 73 70 65 63 69 | 66 69 63 20 69 6e 66 6f |me speci|fic info|
|00005cd0| 72 6d 61 74 69 6f 6e 2c | 20 75 73 65 72 20 64 65 |rmation,| user de|
|00005ce0| 66 69 6e 65 64 20 64 61 | 74 61 2c 20 63 75 73 74 |fined da|ta, cust|
|00005cf0| 6f 6d 20 70 61 72 61 6d | 65 74 65 72 73 20 66 6f |om param|eters fo|
|00005d00| 72 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |r the co|mmand li|
|00005d10| 6e 65 2e 0d 0a 66 75 6e | 63 74 69 6f 6e 20 73 74 |ne...fun|ction st|
|00005d20| 72 69 6e 67 20 47 65 74 | 52 75 6c 65 73 28 29 0d |ring Get|Rules().|
|00005d30| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 73 74 72 69 6e |.{...loc|al strin|
|00005d40| 67 20 52 65 73 75 6c 74 | 53 65 74 3b 0d 0a 0d 0a |g Result|Set;....|
|00005d50| 09 52 65 73 75 6c 74 53 | 65 74 20 3d 20 4c 65 76 |.ResultS|et = Lev|
|00005d60| 65 6c 2e 47 61 6d 65 2e | 47 65 74 52 75 6c 65 73 |el.Game.|GetRules|
|00005d70| 28 29 3b 0d 0a 0d 0a 09 | 2f 2f 20 41 64 6d 69 6e |();.....|// Admin|
|00005d80| 27 73 20 4e 61 6d 65 0d | 0a 09 69 66 28 20 4c 65 |'s Name.|..if( Le|
|00005d90| 76 65 6c 2e 47 61 6d 65 | 2e 47 61 6d 65 52 65 70 |vel.Game|.GameRep|
|00005da0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 41 64 6d |lication|Info.Adm|
|00005db0| 69 6e 4e 61 6d 65 20 21 | 3d 20 22 22 20 29 0d 0a |inName !|= "" )..|
|00005dc0| 09 09 52 65 73 75 6c 74 | 53 65 74 20 3d 20 52 65 |..Result|Set = Re|
|00005dd0| 73 75 6c 74 53 65 74 24 | 22 5c 5c 41 64 6d 69 6e |sultSet$|"\\Admin|
|00005de0| 4e 61 6d 65 5c 5c 22 24 | 4c 65 76 65 6c 2e 47 61 |Name\\"$|Level.Ga|
|00005df0| 6d 65 2e 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |me.GameR|eplicati|
|00005e00| 6f 6e 49 6e 66 6f 2e 41 | 64 6d 69 6e 4e 61 6d 65 |onInfo.A|dminName|
|00005e10| 3b 0d 0a 09 0d 0a 09 2f | 2f 20 41 64 6d 69 6e 27 |;....../|/ Admin'|
|00005e20| 73 20 45 6d 61 69 6c 0d | 0a 09 69 66 28 20 4c 65 |s Email.|..if( Le|
|00005e30| 76 65 6c 2e 47 61 6d 65 | 2e 47 61 6d 65 52 65 70 |vel.Game|.GameRep|
|00005e40| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 41 64 6d |lication|Info.Adm|
|00005e50| 69 6e 45 6d 61 69 6c 20 | 21 3d 20 22 22 20 29 0d |inEmail |!= "" ).|
|00005e60| 0a 09 09 52 65 73 75 6c | 74 53 65 74 20 3d 20 52 |...Resul|tSet = R|
|00005e70| 65 73 75 6c 74 53 65 74 | 24 22 5c 5c 41 64 6d 69 |esultSet|$"\\Admi|
|00005e80| 6e 45 4d 61 69 6c 5c 5c | 22 24 4c 65 76 65 6c 2e |nEMail\\|"$Level.|
|00005e90| 47 61 6d 65 2e 47 61 6d | 65 52 65 70 6c 69 63 61 |Game.Gam|eReplica|
|00005ea0| 74 69 6f 6e 49 6e 66 6f | 2e 41 64 6d 69 6e 45 6d |tionInfo|.AdminEm|
|00005eb0| 61 69 6c 3b 0d 0a 0d 0a | 09 72 65 74 75 72 6e 20 |ail;....|.return |
|00005ec0| 52 65 73 75 6c 74 53 65 | 74 3b 0d 0a 7d 0d 0a 0d |ResultSe|t;..}...|
|00005ed0| 0a 2f 2f 20 52 65 74 75 | 72 6e 20 61 20 73 74 72 |.// Retu|rn a str|
|00005ee0| 69 6e 67 20 6f 66 20 69 | 6e 66 6f 72 6d 61 74 69 |ing of i|nformati|
|00005ef0| 6f 6e 20 6f 6e 20 61 20 | 70 6c 61 79 65 72 2e 0d |on on a |player..|
|00005f00| 0a 66 75 6e 63 74 69 6f | 6e 20 73 74 72 69 6e 67 |.functio|n string|
|00005f10| 20 47 65 74 50 6c 61 79 | 65 72 28 20 50 6c 61 79 | GetPlay|er( Play|
|00005f20| 65 72 50 61 77 6e 20 50 | 2c 20 69 6e 74 20 50 6c |erPawn P|, int Pl|
|00005f30| 61 79 65 72 4e 75 6d 20 | 29 0d 0a 7b 0d 0a 09 6c |ayerNum |)..{...l|
|00005f40| 6f 63 61 6c 20 73 74 72 | 69 6e 67 20 52 65 73 75 |ocal str|ing Resu|
|00005f50| 6c 74 53 65 74 3b 0d 0a | 09 6c 6f 63 61 6c 20 73 |ltSet;..|.local s|
|00005f60| 74 72 69 6e 67 20 53 6b | 69 6e 4e 61 6d 65 2c 20 |tring Sk|inName, |
|00005f70| 46 61 63 65 4e 61 6d 65 | 3b 0d 0a 0d 0a 09 2f 2f |FaceName|;.....//|
|00005f80| 20 4e 61 6d 65 0d 0a 09 | 52 65 73 75 6c 74 53 65 | Name...|ResultSe|
|00005f90| 74 20 3d 20 22 5c 5c 70 | 6c 61 79 65 72 5f 22 24 |t = "\\p|layer_"$|
|00005fa0| 50 6c 61 79 65 72 4e 75 | 6d 24 22 5c 5c 22 24 50 |PlayerNu|m$"\\"$P|
|00005fb0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00005fc0| 6f 6e 49 6e 66 6f 2e 50 | 6c 61 79 65 72 4e 61 6d |onInfo.P|layerNam|
|00005fd0| 65 3b 0d 0a 0d 0a 09 2f | 2f 20 46 72 61 67 73 0d |e;...../|/ Frags.|
|00005fe0| 0a 09 52 65 73 75 6c 74 | 53 65 74 20 3d 20 52 65 |..Result|Set = Re|
|00005ff0| 73 75 6c 74 53 65 74 24 | 22 5c 5c 66 72 61 67 73 |sultSet$|"\\frags|
|00006000| 5f 22 24 50 6c 61 79 65 | 72 4e 75 6d 24 22 5c 5c |_"$Playe|rNum$"\\|
|00006010| 22 24 69 6e 74 28 50 2e | 50 6c 61 79 65 72 52 65 |"$int(P.|PlayerRe|
|00006020| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 53 63 |plicatio|nInfo.Sc|
|00006030| 6f 72 65 29 3b 0d 0a 0d | 0a 09 2f 2f 20 50 69 6e |ore);...|..// Pin|
|00006040| 67 0d 0a 09 52 65 73 75 | 6c 74 53 65 74 20 3d 20 |g...Resu|ltSet = |
|00006050| 52 65 73 75 6c 74 53 65 | 74 24 22 5c 5c 70 69 6e |ResultSe|t$"\\pin|
|00006060| 67 5f 22 24 50 6c 61 79 | 65 72 4e 75 6d 24 22 5c |g_"$Play|erNum$"\|
|00006070| 5c 22 24 50 2e 43 6f 6e | 73 6f 6c 65 43 6f 6d 6d |\"$P.Con|soleComm|
|00006080| 61 6e 64 28 22 47 45 54 | 50 49 4e 47 22 29 3b 0d |and("GET|PING");.|
|00006090| 0a 0d 0a 09 2f 2f 20 54 | 65 61 6d 0d 0a 09 52 65 |....// T|eam...Re|
|000060a0| 73 75 6c 74 53 65 74 20 | 3d 20 52 65 73 75 6c 74 |sultSet |= Result|
|000060b0| 53 65 74 24 22 5c 5c 74 | 65 61 6d 5f 22 24 50 6c |Set$"\\t|eam_"$Pl|
|000060c0| 61 79 65 72 4e 75 6d 24 | 22 5c 5c 22 24 50 2e 50 |ayerNum$|"\\"$P.P|
|000060d0| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|000060e0| 49 6e 66 6f 2e 54 65 61 | 6d 3b 0d 0a 0d 0a 09 2f |Info.Tea|m;...../|
|000060f0| 2f 20 43 6c 61 73 73 0d | 0a 09 52 65 73 75 6c 74 |/ Class.|..Result|
|00006100| 53 65 74 20 3d 20 52 65 | 73 75 6c 74 53 65 74 24 |Set = Re|sultSet$|
|00006110| 22 5c 5c 6d 65 73 68 5f | 22 24 50 6c 61 79 65 72 |"\\mesh_|"$Player|
|00006120| 4e 75 6d 24 22 5c 5c 22 | 24 50 2e 4d 65 6e 75 6e |Num$"\\"|$P.Menun|
|00006130| 61 6d 65 3b 0d 0a 0d 0a | 09 2f 2f 20 53 6b 69 6e |ame;....|.// Skin|
|00006140| 0d 0a 09 69 66 28 50 2e | 53 6b 69 6e 20 3d 3d 20 |...if(P.|Skin == |
|00006150| 4e 6f 6e 65 29 0d 0a 09 | 7b 0d 0a 09 09 50 2e 73 |None)...|{....P.s|
|00006160| 74 61 74 69 63 2e 47 65 | 74 4d 75 6c 74 69 53 6b |tatic.Ge|tMultiSk|
|00006170| 69 6e 28 50 2c 20 53 6b | 69 6e 4e 61 6d 65 2c 20 |in(P, Sk|inName, |
|00006180| 46 61 63 65 4e 61 6d 65 | 29 3b 0d 0a 09 09 52 65 |FaceName|);....Re|
|00006190| 73 75 6c 74 53 65 74 20 | 3d 20 52 65 73 75 6c 74 |sultSet |= Result|
|000061a0| 53 65 74 24 22 5c 5c 73 | 6b 69 6e 5f 22 24 50 6c |Set$"\\s|kin_"$Pl|
|000061b0| 61 79 65 72 4e 75 6d 24 | 22 5c 5c 22 24 53 6b 69 |ayerNum$|"\\"$Ski|
|000061c0| 6e 4e 61 6d 65 3b 0d 0a | 09 09 52 65 73 75 6c 74 |nName;..|..Result|
|000061d0| 53 65 74 20 3d 20 52 65 | 73 75 6c 74 53 65 74 24 |Set = Re|sultSet$|
|000061e0| 22 5c 5c 66 61 63 65 5f | 22 24 50 6c 61 79 65 72 |"\\face_|"$Player|
|000061f0| 4e 75 6d 24 22 5c 5c 22 | 24 46 61 63 65 4e 61 6d |Num$"\\"|$FaceNam|
|00006200| 65 3b 0d 0a 09 7d 0d 0a | 09 65 6c 73 65 0d 0a 09 |e;...}..|.else...|
|00006210| 7b 0d 0a 09 09 52 65 73 | 75 6c 74 53 65 74 20 3d |{....Res|ultSet =|
|00006220| 20 52 65 73 75 6c 74 53 | 65 74 24 22 5c 5c 73 6b | ResultS|et$"\\sk|
|00006230| 69 6e 5f 22 24 50 6c 61 | 79 65 72 4e 75 6d 24 22 |in_"$Pla|yerNum$"|
|00006240| 5c 5c 22 24 73 74 72 69 | 6e 67 28 50 2e 53 6b 69 |\\"$stri|ng(P.Ski|
|00006250| 6e 29 3b 0d 0a 09 09 52 | 65 73 75 6c 74 53 65 74 |n);....R|esultSet|
|00006260| 20 3d 20 52 65 73 75 6c | 74 53 65 74 24 22 5c 5c | = Resul|tSet$"\\|
|00006270| 66 61 63 65 5f 22 24 50 | 6c 61 79 65 72 4e 75 6d |face_"$P|layerNum|
|00006280| 24 22 5c 5c 4e 6f 6e 65 | 22 3b 0d 0a 09 7d 0d 0a |$"\\None|";...}..|
|00006290| 0d 0a 09 72 65 74 75 72 | 6e 20 52 65 73 75 6c 74 |...retur|n Result|
|000062a0| 53 65 74 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 53 65 |Set;..}.|...// Se|
|000062b0| 6e 64 20 64 61 74 61 20 | 66 6f 72 20 65 61 63 68 |nd data |for each|
|000062c0| 20 70 6c 61 79 65 72 0d | 0a 66 75 6e 63 74 69 6f | player.|.functio|
|000062d0| 6e 20 62 6f 6f 6c 20 53 | 65 6e 64 50 6c 61 79 65 |n bool S|endPlaye|
|000062e0| 72 73 28 49 70 41 64 64 | 72 20 41 64 64 72 2c 20 |rs(IpAdd|r Addr, |
|000062f0| 69 6e 74 20 51 75 65 72 | 79 4e 75 6d 2c 20 6f 75 |int Quer|yNum, ou|
|00006300| 74 20 69 6e 74 20 50 61 | 63 6b 65 74 4e 75 6d 2c |t int Pa|cketNum,|
|00006310| 20 73 74 72 69 6e 67 20 | 46 69 6e 61 6c 50 61 63 | string |FinalPac|
|00006320| 6b 65 74 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |ket)..{.|..local |
|00006330| 50 61 77 6e 20 50 3b 0d | 0a 09 6c 6f 63 61 6c 20 |Pawn P;.|..local |
|00006340| 69 6e 74 20 69 3b 0d 0a | 09 6c 6f 63 61 6c 20 62 |int i;..|.local b|
|00006350| 6f 6f 6c 20 52 65 73 75 | 6c 74 2c 20 53 65 6e 64 |ool Resu|lt, Send|
|00006360| 52 65 73 75 6c 74 3b 0d | 0a 09 0d 0a 09 52 65 73 |Result;.|.....Res|
|00006370| 75 6c 74 20 3d 20 66 61 | 6c 73 65 3b 0d 0a 0d 0a |ult = fa|lse;....|
|00006380| 09 50 20 3d 20 4c 65 76 | 65 6c 2e 50 61 77 6e 4c |.P = Lev|el.PawnL|
|00006390| 69 73 74 3b 0d 0a 09 77 | 68 69 6c 65 28 20 69 20 |ist;...w|hile( i |
|000063a0| 3c 20 4c 65 76 65 6c 2e | 47 61 6d 65 2e 4e 75 6d |< Level.|Game.Num|
|000063b0| 50 6c 61 79 65 72 73 20 | 29 0d 0a 09 7b 0d 0a 09 |Players |)...{...|
|000063c0| 09 69 66 20 28 50 2e 49 | 73 41 28 27 50 6c 61 79 |.if (P.I|sA('Play|
|000063d0| 65 72 50 61 77 6e 27 29 | 29 0d 0a 09 09 7b 0d 0a |erPawn')|)....{..|
|000063e0| 09 09 09 69 66 28 20 69 | 3d 3d 4c 65 76 65 6c 2e |...if( i|==Level.|
|000063f0| 47 61 6d 65 2e 4e 75 6d | 50 6c 61 79 65 72 73 2d |Game.Num|Players-|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.